[Oberon] OpenType(TTF) problem

Pascal Lehmann lehmann at inf.ethz.ch
Tue Sep 27 19:09:44 CEST 2005


Hi Yuri.

Inside of your Application you can access the TT fonts like Oberon/Bitmap
fonts by using for example:
myFont := WMGraphics.GetFont("ARIABD", 14, {});
This will get you Arial Bold (ARIALBD.TTF) in the size of 14points.
The FontManager tries every available FontHandler (loaded in AosConfig.XML)
to find the specified font and does a fallback if all of them failed.

To use TT fonts in a BBT document, just open the Text Styles Panel and
define your desired Style (type the name of the font, eg: ARIALBD), then
apply the new style to your document.

You can use every glyph offered in the TT font when using the WMUnicodeIME
and entering the Unicode value of the glyph. Although I think the UnicodeIME
will insert the glyph from the default Unicode Font and you probably need to
set the style again to have the document show the glyph from the font you
specified.

The AosOTFonts.Make command is only used to convert TT fonts into Oberon
fonts which offer a subset.

hth, greets
Pascal


----- Original Message ----- 
From: "yurix" <yurix at i.com.ua>
To: <oberon at lists.inf.ethz.ch>
Sent: Tuesday, September 27, 2005 1:41 PM
Subject: [Oberon] OpenType(TTF) problem


> Hello!
>
> Can anybody say, how to I can use open|true type font in BB?
> When I use AosOTFonts.Make command, result contain only oberon subset
> from source font.ttf . Can I use non-latin gliphs from ttf when
> activated IME?
>
> -- 
> Yuri                          mailto:yurix at i.com.ua
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list