summaryrefslogtreecommitdiff
path: root/tests/test-font.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-24 11:15:01 -0500
committerMarco Trevisan (TreviƱo) <mail@3v1n0.net>2021-05-05 17:31:44 +0200
commit1355ed7416fc9119bac36e8937b900d908b6bf93 (patch)
tree4969400b74ea6b9f885f022312f02350e5720524 /tests/test-font.c
parent634621b09e232bf51a9c89c177743dbc851e543a (diff)
downloadpango-1355ed7416fc9119bac36e8937b900d908b6bf93.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 (cherry-picked from commit bc973fdb)
Diffstat (limited to 'tests/test-font.c')
0 files changed, 0 insertions, 0 deletions