<div dir="ltr"><div>Could you try the patched xdvipdfmx against the small latex example that started this, posted to</div><div><br></div><div><a href="https://tex.stackexchange.com/q/530386/1090">https://tex.stackexchange.com/q/530386/1090</a></div><div><br></div><div>thanks</div><div><br></div><div>David<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 29 Feb 2020 at 13:02, Hironobu Yamashita <<a href="mailto:h.y.acetaminophen@gmail.com">h.y.acetaminophen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
ZW> \special{pdf:code SOMETHING } used to insert just SOMETHING<br>
ZW> while \special{pdf:put SOMETHING} used to insert q SOMETHING Q<br>
ZW> In the previous behaviour both possibilities were available, you just<br>
ZW> have to choose between pdf:code and pdf:put.<br>
<br>
I agree with Zdenek.<br>
It would be useful if users can choose between pdf:code and pdf:put,<br>
though they should be careful to choose which one is more appropriate.<br>
<br>
SH> unfortunately, as this fake-bold feature relies on changing text rendering<br>
SH> mode (fill-then-stroke with adjusted stroke line-width) via "Tr" operator,<br>
SH> any fixes might be inherently incompatible with what Alexander wants to<br>
SH> do.<br>
SH> (The possible fix here is to forcibly add "Tr" operator whenever new text<br>
SH> starts or font is changed)<br>
<br>
I tried the attached patch, and it works well at least for the MWE in<br>
<a href="https://tug.org/pipermail/dvipdfmx/2019-June/000014.html" rel="noreferrer" target="_blank">https://tug.org/pipermail/dvipdfmx/2019-June/000014.html</a><br>
though I'm not sure whether this affects what Alexander wants to do.<br>
<br>
<br>
Hironobu<br>
</blockquote></div>