[aXSL-user] [from fop-dev] Font baseline informations
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: Vincent H. <vin...@en...> - 2005-09-20 17:27:52
|
Below is a need that arose on fop-dev. This kind of information should be provided by the font system. I believe= that=20 the Opentype format contains baseline information tables. For the other f= ormats=20 this would have to be computed. As said by Manuel, I don't think there is anything urgent on this purpose= =2E Vincent -------- Message original -------- Sujet: FOray fonts / axslFonts / baselines / FOP fonts Date: Mon, 19 Sep 2005 10:46:38 +0800 De: Manuel Mall <mm...@ar...> R=E9pondre =E0: fo...@xm... Pour: fo...@xm... Vincent, this is more "just for the record". To do all this alignment stuff (XSL-FO spec 7.13) correctly we need various baseline information (tables). And it all starts with the font, i.e. for each font we need to know its default baseline and where all the other baselines are for that font (actually on a per glyph basis or at least on a per script basis). None of this information is currently exposed in the font API, neither the current FOP Font nor AFAICT in axslFont. There is certainly no point in modifying the current FOP Font object as it will be superseded by your work in due course. So I hope axslFont and its first implementation FOray Font will take a lead here :-). This is further complicated by most fonts not having this sort of information embedded in their font files. So there must be other means of deriving it as well (algorithmic?, external font config files?, ...). Manuel |