Opened 16 years ago
Closed 16 years ago
#51 closed enhancement (fixed)
Use OS/2 font database to match fonts
| Reported by: | Dmitry A. Kuminov | Owned by: | Dmitry A. Kuminov |
|---|---|---|---|
| Priority: | blocker | Milestone: | Qt Beta 3 |
| Component: | QtGui | Version: | 4.5.1 Beta 1 |
| Severity: | Keywords: | ||
| Cc: |
Description (last modified by )
We will use the Freetype2 library to cache installed fonts and perform font matching for Qt applications (refer to #41 for more info).
Change History (11)
comment:1 by , 16 years ago
| Priority: | major → blocker |
|---|
comment:2 by , 16 years ago
| Milestone: | Qt GA → Qt Beta 3 |
|---|
comment:3 by , 16 years ago
I'm leaning to dropping fontconfig support actually. Its main purpose is to make the font configuration on a given system centralized and static across different applications. While this is really makes sense for Linux systems, on OS/2 font configuration is already pretty centralized and static.
Besides, fontconfig requires libxml and both these libraries aren't normal citizens of the typical OS/2 setup which means that we have to statically compile them into Qt which I consider as an overkill for a simple task of selecting a font file based on the requested font properties.
The OS/2 font database contains all basic information we need when choosing fonts. If we want more (e.g. font substitution, anti-aliasing and hint rules based on font family etc) we will add support for that through recognizing extra keys in OS2.INI.
If some day later the situation changes and many OS/2 applications start using fontconfig + libxml, we are always able to switch to fontconfig in Qt4 too.
comment:4 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |

A must for the GA.