Currently de/font.c is using XmbDrawString to draw the title. When setting CF_DE_USE_XUTF8, it uses Xutf8DrawString instead, which fails in the same way.
xfontsel does not appear to use XmbDrawString/Xutf8DrawString, but instead performs some operations on the string and then passing it on to XDrawString16. It's still unclear to me how that decides which font to use, though.
work in progress in the utf8titles branch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my case if a titile contains any non-ASCII symbol, then the whole title is replaced by 3 question marks, so I have titles like:
???
???<1>
???<2>
and so on.
Do you think it's the same issue as the described above?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently de/font.c is using XmbDrawString to draw the title. When setting CF_DE_USE_XUTF8, it uses Xutf8DrawString instead, which fails in the same way.
xfontsel does not appear to use XmbDrawString/Xutf8DrawString, but instead performs some operations on the string and then passing it on to XDrawString16. It's still unclear to me how that decides which font to use, though.
work in progress in the utf8titles branch.
what xfontsel does seems equivalent to what we do when an xfontstruct is used rather than an xfontset
using a font that is explicitly 'iso10646-1' will cause notion to use fontstruct rather than set, and makes the utf-8 title work. interesting...
In my case if a titile contains any non-ASCII symbol, then the whole title is replaced by 3 question marks, so I have titles like:
???
???<1>
???<2>
and so on.
Do you think it's the same issue as the described above?