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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mapbox/mapbox-gl-native
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mapbox/mapbox-gl-native
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: coretext-hack
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 15 files changed
  • 2 contributors

Commits on Feb 21, 2018

  1. Start hacking in stubbed-out CoreText support for shaping/rendering.

    - Assume all glyphs should be rendered with a local font
    - Store glyph IDs along with a font name so that glyph manager can handle font lookup based on font substitution
    - Maintain list of active font references in the glyph rasterizer
    - Continue to do Arabic shaping and BiDi _outside_ of CoreText shaping (theoretically should sidestep CoreText shaping)
    - Disable verticalized text (not compatible with CoreText shaping)
    - Cripple line breaking to just pick up line breaks. Probably long term solution is that we should pass line breaks to Apple instead of doing them ourselves? otherwise we need to at least do line breaking at something like the level of a CTRun (ie need to calculate the width of clusters, not individual glyphs)
    - Pass shaping off to CoreText on a line by line basis
    
    TODO:
    
    - Get glyph dependencies
    - Get shaping and glyph positions
    - Draw individual glyph
    ChrisLoer authored and 1ec5 committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    c0a365e View commit details
    Browse the repository at this point in the history
  2. Implement "getGlyphDependencies"

    ChrisLoer authored and 1ec5 committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    a5e11ea View commit details
    Browse the repository at this point in the history
  3. Shaping and glyph rendering kind of work!

    Includes hack to make descenders kind of render by just making glyphs extra tall.
    ChrisLoer authored and 1ec5 committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    b002887 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61c224a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    59ab27f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b38169 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    28dbd18 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7c7f5df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cf597ab View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Configuration menu
    Copy the full SHA
    b3ba998 View commit details
    Browse the repository at this point in the history
  2. [macos] Added font picker

    Instead of hard-coding a font when localizing, enable a font picker to set the font of the selected layers.
    1ec5 committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    e3645ec View commit details
    Browse the repository at this point in the history
Loading