Arne G�tje (???) wrote:
> I noticed, that when enableing CJK support in oowriter, I can choose
> which CJK language should be used for the document. I can also choose
> the same for each single character in the document.

Currently this setting is used for things like spellchecking and locale
specific tasks, but not yet for selecting OpenType features.
 
> I'm a font developer and I'd like my fonts to support this feature to
> display different presentation forms for some glyphs, depending on
> which language the user chooses.
> 
> Can someone explain me in detail which OTF features are used for this
> purpose and how I have to set them in my fonts to support the language
> feature?

Currently OOo uses the defaults of the underlying font systems (e.g. Win32
API, Uniscribe, Freetype, ICU) for this. The document's locale is not yet
fed into these systems so at best just the system's local is available to
these subsystems. As far as I know only the Win32 API supports this.

> I tried already to have some GSUB (Simplified Form and Traditional Form)
> entries for languages hani(zhs) and hani(zht), but this one doesn't do
> the trick.

The only chance for OOo to handle this on all platforms would be to parse
all the OT tables itself and only deal with glyphids instead of unicodes.
Unfortunately this would cause a lot of problems with e.g. printer drivers
which often like to mess with the fonts like replacing the selected font
with builtin fonts etc.

--
Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to