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 654964 - Implement small and petite caps features
Implement small and petite caps features
Status: RESOLVED DUPLICATE of bug 545510
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2011-07-20 13:19 UTC by Steve White
Modified: 2012-08-25 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve White 2011-07-20 13:19:05 UTC
Hi,

The CSS Fonts Module Level 3 draft proposes a way for web pages to specify capitalization variants
    http://www.w3.org/TR/css3-fonts/#font-variant-caps-prop
but in Pango none of the OpenType lookup tables that would enable these features are present:
    pcap, smcp
    c2pc, s2sc

To be complete, let me state here how these should work.

Small caps are replacements for lower-case letters that are of the general form up uppercase letters, but the height of lowercase letters.  Petite caps are similar, but they are typically half the height of uppercase letters.

Best results are obtained by making use of specially designed glyphs for these smaller versions, and many fonts contain such substitutions:  these substitution glyphs are specified by the lookup tables, which work just like other single-character substitutions.

Of course, these features only apply to alphabetic scripts with case distincion (bicameral scripts).

In case the tables for the current script are not available in the font, uppercase letters should simply be scaled.  (I see some comments in the Pango source that seem to indicate Pango could take this last measure.)

Thanks!
Comment 1 Behdad Esfahbod 2012-08-25 19:19:26 UTC

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