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

Don't request glyphs for verticalized punctuation if feature can't be verticalized #8982

Closed

Description

@mb12

Platform:
iOS and Android
Mapbox SDK version:
Master

Steps to trigger behavior

For certain codepoints e.g. '.' , the corresponding verticalization char is also added to glyph dependencies. This happens here.

However the requested code point is not used if the placement is not along line. This happens here.

Expected behavior

Only request code point ranges that will be used during placement.

Actual behavior

Activity

  1. added
    Core
    on May 15, 2017
  2. changed the title [-]Requested codepoint font range is not used during placement.[/-] [+]Don't request glyphs for verticalized punctuation if feature can't be verticalized[/+] on May 15, 2017
  3. ChrisLoer commented on May 15, 2017

    @ChrisLoer
    Contributor

    It looks to me like fixing this just requires checking allowsVerticalWritingMode (and textAlongLine) for the feature before building the set of glyph dependencies.

    /cc @1ec5

  4. jfirebaugh commented on May 22, 2017

    @jfirebaugh
    Contributor

    Fixed in #9033.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Coretext rendering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions