Missing underline also in txt:Bold=1in some fonts |
Post Reply |
Author | |
peerschindel
Groupie Joined: 12 July 2008 Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 28 July 2008 at 12:08pm |
Hi,
I have nearly the same problem as described in topic
"Why is underscore "_" not drawn in txt:Italic= 1?".
I have in my languages keywords which contain an underscore for reserved names e.g. _MyReservedName. Because for "Italic", it didn't work at all (see other topic),
I tried to use "Bold" and first I thought, it was o.k.
But now I tried several font sizes and for some, it works,
for others not (e.g. size=12 doesn't work).
The underscores of the keywords are simply
not drawn (while the rest of the keyword is in bold), so I only see MyReservedName instead of _MyReservedName (This behavior can be seen in MDITextEditor) Because I need to distinguish 2 kinds of keywords for the same
color and because italic and underline don't work, I'm stuck with
bold.
I saw no other chance then modifying the library source code
and changing FW_BOLD to FW_SEMIBOLD on the one place
where it is decided from the lex schema which text attributes to
use (GetTextAttrbutes).
This seems to have no problems, but I don't like to change the
library code because it makes problems with future updates.
So could this be fixed or at least added an official possibility
to use FW_SEMIBOLD instead of FW_BOLD?
Regards |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |