[texworks] Defining scripts for Unicode ranges

David Perry hospes.primus at verizon.net
Sat May 23 19:25:16 CEST 2009


Today I was working with a document that contains samples of several 
languages.  The font I use for most editing doesn't support all these 
scripts, and I thought it would be nicer to display the actual 
characters in TeXwork's editor rather than little boxes (even though the 
little boxes compile just fine). I tried using the Format/Font dialog to 
define fonts to use only for Greek, Hebrew, etc., but it didn't work.  I 
tried selecting the script first, then the font, and then vice versa, 
but all that happened was that the entire editing window was displayed 
in the new font.

Am I missing something?  Or is this dialog box not intended for what I 
thought it was?  In any case, I think this would be a very nice feature 
for a Unicode-centered program like TeXworks to have.  If it's too much 
work to implement this by listing every Unicode script (now a long 
list), perhaps there could be a fallback mechanism; the user could tell 
TeXworks to check one or two specific fonts if the main editing font 
doesn't have certain glyphs.

A bit more experimenting shows that there is some sort of fallback 
mechanism in place now, since I set the editing font to one that I know 
doesn't have Greek and Hebrew, but both were correctly displayed--albeit 
in an ugly font.  But TeXworks couldn't locate either of the two fonts I 
have that contain Old Italic.  What's happening here?

Thanks - David



More information about the texworks mailing list