summaryrefslogtreecommitdiffstats
path: root/tests/auto/qrawfont
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Make pixel size a qreal in QRawFontEskil Abrahamsen Blomfeldt2011-05-021-16/+16
| | | | | | | | The pixel size in the font engines is already a floating point value. For maximum flexibility, we should expose this in the public API. Task-number: QTBUG-18817 Reviewed-by: Jiang Jiang
* Make sure #ifdef'd tests still have main() functionEskil Abrahamsen Blomfeldt2011-04-181-3/+5
| | | | | | Otherwise it won't link on QWS Reviewed-by: TrustMe
* Long live QRawFont!Eskil Abrahamsen Blomfeldt2011-04-154-0/+825
The QGlyphs API was initially attempted with a bastardization of QFont which was meant to encapsulate a single, physical font instance (a QFontEngine) where a set of glyph indexes would make sense. This is not how QFont was intended to be used, and it caused several issues. At the same time, the requirement for loading a font from ttf/otf data and be able to access it and use it without polluting the rest of the process with the font arose. To support these two APIs we introduce QRawFont, which is an abstraction on top of a single physical font. Done-with: Jiang Jiang