Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
pango
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 212
    • Issues 212
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • pango
  • Issues
  • #7

Closed
Open
Opened Dec 17, 2002 by bugzilla-migration@bugzilla-migrationReporter

Shape marks with base characters

Submitted by Owen Taylor

Link to original bug (#101406)

Description

The Hangul shaper uses fallback glyphs for the two tone-mark glyphs if the font doesn't have the tone mark. But if the font doesn't have the tone marks, it would normally get put into a different run (different font) from the base glyphs unless the Hangul font is the default font.

I put a hack into pangofc-fontmap.cI to deal with this, but we really need some general mechanism, which might involve new API of some sort.

(The get_coverage() method of PangoEngine was supposed to handle this, but it is no longer used with current font backends)

=== /* Awful hack so Hangul Tone marks get rendered with the same

  • font and in the same run as other Hangul characters. If a font
  • covers the first composed Hangul glyph, then it is declared to cover
  • the Hangul tone marks. This hack probably needs to be formalized
  • by choosing fonts for scripts rather than individual code points. */ if (pango_coverage_get (coverage, 0xac00) == PANGO_COVERAGE_EXACT) { pango_coverage_set (coverage, 0x302e, PANGO_COVERAGE_EXACT); pango_coverage_set (coverage, 0x302f, PANGO_COVERAGE_EXACT); }

Version: 1.1.x

Assignee
Assign to
Big fix
Milestone
Big fix
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/pango#7