Issue 125288 - add support for "Text figures", or Old Style numbers in formatting
Summary: add support for "Text figures", or Old Style numbers in formatting
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 12:21 UTC by efa
Modified: 2014-07-21 16:46 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description efa 2014-07-21 12:21:05 UTC
As now, menù Format, Character, Font Effects, Effects support:

(Without)
Capitals
Lowercase
Title
Small capitals

none has effects on numbers.

Professional desktop pubblishing applications has the "Text figures" support.
For example see:
http://helpx.adobe.com/it/indesign/using/using-fonts.html
http://helpx.adobe.com/content/help/it/indesign/using/formatting-characters.html#change_the_case_of_type
http://en.wikipedia.org/wiki/Text_figures

Those apps take the gliphs codepoint for standard "capital" numbers, and transform them to "Text figures", doing something similar to this:
70% body size for 0,1,2 digits, subscript plus 150% body size for 3,4,5,7,9
leaving 6 and 8 standard body size.

My suggestion is to keep Small Capitals for letter only, and add a new settings named something like:
Text figures
that work on number doing Text figures, leaving free to select both options.
Comment 1 Andrea Pescetti 2014-07-21 16:46:31 UTC
Relevant ODF properties seem to be in
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419810_253892949 ;
based on that, this seems to be best handled as an enhancement to font-variant:small-caps (that could be implemented to cover digits too).

Note that it is based on http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#font-variant which still mentions only letters and not digits.