Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support serializing NativeFontHandle on macOS #2122

Merged
merged 2 commits into from Dec 7, 2017
Merged

Commits on Dec 6, 2017

  1. Split out ResourceGenerator from the other state in YamlFrameWriter

    This cleans up things a little and will make it easier for us to generate
    files for native fonts because we won't have multiple mutable borrows on
    YamlFrameWriter.
    jrmuizel committed Dec 6, 2017
  2. Write out font files for CGFonts

    This ups the core-graphics dependency and adds the ability to
    convert a CGFont into a font file. The code is based on the code in
    https://searchfox.org/mozilla-central/rev/7a8c667bdd2a4a32746c9862356e199627c0896d/gfx/2d/ScaledFontMac.cpp#255
    
    We also switch to CFNumber::from to avoid breakage with the latest core-foundation
    jrmuizel committed Dec 6, 2017
You can’t perform that action at this time.