Bug 648044; Change PangoCoreTextFace::weight to type PangoWeight and perform the...
authorJohn Ralls <jralls@ceridwen.us>
Sun, 1 May 2011 19:12:21 +0000 (12:12 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Sun, 1 May 2011 19:12:21 +0000 (12:12 -0700)
commit9003800c297781223828c5d5e537aa34391c17ca
tree42dfa4cecdfd2861d6993c5001725e7793d8473b
parent0cc03a0a8e91627267236ff94cc424203c39b03a
Bug 648044; Change PangoCoreTextFace::weight to type PangoWeight and perform the conversion from the CFNumber with a mapping table in pango_core_test_face_from_ct_font_descriptor()

This assigns PangoWeights which better align with the CoreText weights and better ensures that unique values are used for hash keys used for determining which faces need synthetic italic faces created.
pango/pangocoretext-fontmap.c