After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 490414 - Remove awful hack from _pango_fc_font_map_fc_to_coverage()
Remove awful hack from _pango_fc_font_map_fc_to_coverage()
Status: RESOLVED DUPLICATE of bug 101406
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-10-26 07:06 UTC by Behdad Esfahbod
Modified: 2009-11-17 05:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2007-10-26 07:06:59 UTC
PangoCoverage  *
_pango_fc_font_map_fc_to_coverage (FcCharSet *charset)
{

  ...

  /* 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);
    }

  return coverage;
}
Comment 1 Behdad Esfahbod 2009-11-17 05:00:28 UTC

*** This bug has been marked as a duplicate of bug 101406 ***