[texworks] Changing font preference to bold
Stefan Löffler
st.loeffler at gmail.com
Fri Feb 24 23:06:01 CET 2023
Hi Moti,
On 24.02.23 09:04, Moti Ben-Ari wrote:
> I have difficulty using the editor unless the font is bold. Since it
> is not a preference, in v0.6.7 I was able to do so by changing the
> fifth parameter of the Windows registry entry for font to 75:
> Courier New,11,-1,5,75,0,0,0,0,0
>
> With v0.6.8 I tried the same thing but it doesn't work:
> Courier New,11,-1,5,75,0,0,0,0,0,0,0,0,0,0,1
Could you try using 700 instead of 75?
There was no significant change to the font preference code, but the
default 0.6.8 binary is compiled with Qt 6 instead of Qt 5 (which was
used for 0.6.7). And the docs say that a new scale was introduced - in
line with OpenType, apparently. In this new scale, "Bold", which
corresponded to 75 in Qt 5
[https://doc.qt.io/qt-5.15/qfont.html#Weight-enum], now corresponds to
700 [https://doc.qt.io/qt-6/qfont.html#Weight-enum].
HTH,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20230224/64ebafdf/attachment.html>
More information about the texworks
mailing list.