summaryrefslogtreecommitdiff
path: root/tests/test-font.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-24 11:15:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-24 16:42:57 -0500
commitbc973fdb04b3f4b13c58738ed88c576c58df8b85 (patch)
treed2f2c7801e9848c7826e862a8c8929f023a3a906 /tests/test-font.c
parentafdd09716db2cf42dd1874c70993fac7f0722add (diff)
downloadpango-bc973fdb04b3f4b13c58738ed88c576c58df8b85.tar.gz
Fix pango_font_describe for Emoji fonts
We are using the size from the FcPattern. For scalable bitmap fonts, this has been scaled to match the requested pixel size. To make a font description that can be turned back into a FcPattern and roundtrip successfully, we need to undo that scaling. Thankfully, fontconfig leaves the pixelsizefixupfactor in the pattern, so it is easy to do. Fixes: #530
Diffstat (limited to 'tests/test-font.c')
0 files changed, 0 insertions, 0 deletions