Gnome text subsystems


What about following logical structure?

1. User has
- text (in some supported encoding)
- language

2. Given language and preferences, he/she or system selects available

3. It gives text + font + language to Pango, and gets back PangoGlyhString
(or list of strings)

4. These strings are fed to:
- gnome->X font finder, then X font rendering
- canvas engine
- raster rendering engine
- outline extracting
- gnome-print

- if text is in multiple languages, then single GnomeFont is not
sufficent. So there should be something bigger, like GnomeFontSet
- How to deal with attributed text?
- How complicated text is Pango able to layout - i.e. if should it handle
super/subscripts, possible hyphenations, multiple languages, multiple font
sizes and attributes in single text segment?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]