summaryrefslogtreecommitdiff
path: root/pango/pangocairo-coretextfontmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Restore scaling of CoreText fonts.John Ralls2018-05-081-1/+1
| | | | Fixes bug 787867.
* CoreText: Remove absolute size and scaling to screen resolution.John Ralls2017-08-151-1/+1
| | | | | | | | | | | | | Cairo's CGFont backend already handles scaling fonts to the display resolution, so scaling to the screen screen resolution in Pango's CoreText backend generates double-sized text on a Retina display. The layout test depended on providing a (bogus) resolution of 96DPI and scaling the font to it in order to obtain the "expected" layout results. This is replaced by adjusting the font size in test-layout.c if Pango is compiled for CoreText. https://bugzilla.gnome.org/show_bug.cgi?id=782393
* [coretext] Default DPI to 96 instead of 72Behdad Esfahbod2014-01-161-1/+1
|
* Add pango_font_map_changed()Alexander Larsson2013-02-261-0/+11
| | | | | | | This is needed as a base class sometimes needs to invalidate the fontmap. https://bugzilla.gnome.org/show_bug.cgi?id=694626
* Track changes in FontMaps using a serialAlexander Larsson2012-12-061-0/+15
| | | | | | | | This adds the pango_font_map_get_serial method that lets you see if a fontmap has changes since the last check. It adds implementations to all current fontmaps. https://bugzilla.gnome.org/show_bug.cgi?id=340066
* A bit more atsui cleanupJohn Ralls2012-08-221-3/+0
| | | | Just a no-longer-true comment.
* Still more atsui removalJohn Ralls2012-08-221-1/+1
| | | | CoreText works now!
* CoreText backend: implement font fallbacksKristian Rietveld2012-01-281-6/+66
| | | | | | | | | | | | | | | We implement font fallbacks by making use of CTFontCopyDefaultCascadeList, a public, non-exposed, symbol in the CoreText library. We might want to handle this differently. The code now also uses a PangoCoreTextFontsetKey and PangoCoreTextFontKey, similar to the font config backend. This has also helped to clean up the code in general. This patch contains two fixes by Michael Natterer: 1. Fix a bug in pango_core_text_font_key_equal() where the return value of memcmp() was wrongly interpreted. 2. Cache PangoCoverage in PangoCoreTextFont.
* Start implementation of CoreText backendKristian Rietveld2011-04-141-0/+107
On Mac OS X systems where CoreText is available (that is, 10.5 or higher), we will build the CoreText backend instead of the ATSUI backend. In this case, the ATSUI backend will not be built and installed. This change is necessary because since Mac OS 10.5 ATSUI has been marked as deprecated. For older systems, we will have to continue to use the ATSUI backend.