Skip to content

Add api to set invisible glyph #1216

@behdad

Description

@behdad

Currently we use space glyph. Add api to set it differently. We want three different semantics:

  • Use space glyph. Current default.
  • Delete.
  • Specific number, like 0xFFFF.

What's a good API design for that? Oh wait, we already have @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES and @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES. So, just need API to support:

  • Use space glyph. Current default.
  • Specific number, like 0xFFFF.

Maybe we can use 0 to mean "use space glyph", as 0 is otherwise notdef and shouldn't be desirable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions