Page 1 of 1

Unicode subsets

Posted: Thu Mar 12, 2009 10:49 pm
by solarian
I'm currently working on an XML document which contains characters from several different Unicode subsets (Hebrew, Latin and Greek), and there's no decent font that can display all these characters (the Latin subset of Code2000 is ghastly!), so I'm getting a lot of those square boxes around the place that make editing "difficult" (read: impossible).

Word 2007 has a feature that, when coming upon a character that isn't implemented in the selected font, automatically chooses a different font which does have that glyph; but it would be even better if you could implement a feature where one can select a different font for each different subset (in Options->Preferences->Fonts).

The latter option would be preferable, because I'm also using glyphs that are in the private use area, and I'd like to have control over exactly which font displays those characters.

Any chance of seeing something like this in future versions of Oxygen XML?

P.S. You could add OpenType support at the same time! :D

Re: Unicode subsets

Posted: Fri Mar 13, 2009 12:12 am
by george
Java provides support for defining logical fonts that can combine several physical fonts for different ranges, see for instance

http://java.sun.com/j2se/1.5.0/docs/gui ... ml#logical

oXygen is a Java application so if you define a logical font you can use it then in oXygen.

Best Regards,
George

Re: Unicode subsets

Posted: Fri Mar 13, 2009 11:56 pm
by solarian
Wonderful, thanks!

Re: Unicode subsets

Posted: Mon Mar 30, 2009 10:39 pm
by solarian
P.S. For the benefit of anyone who wishes to use OpenType CFF fonts with OxygenXML, you need to install JRE 1.7.0, available as part of Sun JDK7. If you install this, you'll also need to delete the jre folder in the OxygenXML installation folder so that OxygenXML doesn't use its bundled JRE.