summaryrefslogtreecommitdiff
path: root/pango/pangoft2-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-08-27 20:39:14 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-08-27 20:39:14 -0400
commit94b7c4ae13e3b71ffc283db1989389f22bd66446 (patch)
tree43ccbd82c43dd2537cd927d9b154ddceb053c6e1 /pango/pangoft2-fontmap.c
parenta3517dcc6de9bae1193075b7112aa7db97b39dcc (diff)
downloadpango-94b7c4ae13e3b71ffc283db1989389f22bd66446.tar.gz
fc: Avoid extra copies of family names
When we create a PangoFcFont from an FcPattern, we know that the pattern will live as long as the font and the font description we create at the same time. So there is no need to copy the strings we get out of the pattern.
Diffstat (limited to 'pango/pangoft2-fontmap.c')
0 files changed, 0 insertions, 0 deletions