Work around crash when displaying etc/HELLO on OS X 10.11
commitd22634e518078a9a51c9a30b44a72e0c9e7c96cd
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 30 Sep 2015 09:56:30 +0000 (30 18:56 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 30 Sep 2015 09:56:30 +0000 (30 18:56 +0900)
tree6b33932911ed42cdcb865d7db32210255c958892
parent1c6a58705b653b62c71266497564b1880c5b1340
Work around crash when displaying etc/HELLO on OS X 10.11

* src/macfont.m (mac_font_get_weight)
(mac_font_descriptor_get_adjusted_weight): New functions.
(macfont_store_descriptor_attributes): Adjust weight.
src/macfont.m