HomePhabricator

qt: fix broken unicode chars on osx 10.10
52954e6efd37Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

qt: fix broken unicode chars on osx 10.10

The default font changed again.

The real fix is to compile qt against a >= 10.8 sdk, but this is simple enough
to backport to 0.10 to avoid having to do that there.

Note: NSAppKitVersionNumber is a double and there's no official value for
NSAppKitVersionNumber10_10. Since == isn't reliable for doubles, use Apple's
guidelines for testing versions here:
https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/

Chinese and Japanese fonts have been hard-coded as well, otherwise they fail to
show up at all.

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Jan 14 2015, 20:26
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGf5ad78b34af8: qt: fonts: allow SubstituteFonts to filter based on user's language
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rSTAGING52954e6efd37: qt: fix broken unicode chars on osx 10.10 (authored by Cory Fields <cory-nospam-@coryfields.com>).Jan 17 2015, 08:31