Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] POC: implementation of a CoreText-based LocalGlyphRasterizer #10572

Merged
merged 14 commits into from
Nov 29, 2017

Commits on Nov 27, 2017

  1. Configuration menu
    Copy the full SHA
    6a1a5ee View commit details
    Browse the repository at this point in the history
  2. Fix build for iOS.

    ChrisLoer committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    c43dd57 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2017

  1. Adjust drawing positions and glyph metrics to fit entire glyph within…

    … drawn area, better align to baseline.
    
    Includes code to extract glyph metrics, but the results don't match anything I'd expect so I'm not using them.
    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    629565f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae6dd46 View commit details
    Browse the repository at this point in the history
  3. Moving towards configurable darwin implementation of LocalGlyphRaster…

    …izer.
    
    Thin C++ wrappers on C calls.
    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    8e55428 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5c4d96 View commit details
    Browse the repository at this point in the history
  5. LocalGlyphRasterizer takes a void* configuration input. If nothing is…

    … set, it doesn't rasterize glyphs locally.
    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    3114947 View commit details
    Browse the repository at this point in the history
  6. Change LocalGlyphRasterizer configuration to just a plain "font famil…

    …y" string, plumb it out as far as the Renderer constructor.
    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    bfefc93 View commit details
    Browse the repository at this point in the history
  7. Fix unit tests.

    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    3d7669b View commit details
    Browse the repository at this point in the history
  8. Fix non ios/macos builds.

    ChrisLoer committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    8a9009c View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Document CFHandle

    Add pragma once
    Move instantiations of CFHandle down to where they're used (although a few are duplicated).
    ChrisLoer committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    6451d4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf53bf4 View commit details
    Browse the repository at this point in the history
  3. Implement font stack-based heuristics for font loading.

    In my tests so far, I have yet to get CoreText to render anything differently based on the font weight changes.
    ChrisLoer committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    0845907 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    34e7ae2 View commit details
    Browse the repository at this point in the history