Skip to content

Consider upgrading go-text/typesetting #3380

@benoitkugler

Description

@benoitkugler

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

Consider upgrading go-text/typesetting to version v0.3.3

Why is this needed?

We have tagged a new v0.3.3 version for go-text/typesetting, which deprecates some fields on the shaping.Glyph type. These fields will be removed in a future version, which will be a breaking change to allow for performance optimization.

It should be straightforward to update your code with these replacements :
XAdvance => Advance
YAdvance => Advance
ClusterIndex => TextIndex()
RuneCount => RunesCount()
GlyphCount => GlyphsCount()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions