[nc] Technical: Metadata: Regular does not have PSName Ubuntu-Regular and "Ubuntu Regular"

Bug #859673 reported by Dave Crossland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Font Family
In Progress
Undecided
Unassigned

Bug Description

The Ubuntu-R.ttf file is dissimilar to all other styles in its style naming; the 'Fontname' and 'Name for Humans' (FontForge's Element, Font Info UI labels) is simply "Ubuntu" whereas for eg Ubuntu-B.ttf they are "Ubuntu-Bold"/"Ubuntu Bold"

summary: - Technical: Metadata: Regular does not have PSName Ubuntu-Regular and
- "Ubuntu Regular"
+ [nc] Technical: Metadata: Regular does not have PSName Ubuntu-Regular
+ and "Ubuntu Regular"
Revision history for this message
Dave Crossland (davelab6) wrote :

In fact my view on this changed since then :) Having the regular as Ubuntu in all font family names is correct.

However, the other styles need adjusting like this:

https://docs.google.com/spreadsheets/d/1ckHigO7kRxbm9ZGVQwJ6QJG_HjV_l_IRWJ_xeWnTSBg/edit#gid=0

Revision history for this message
Paul Sladen (sladen) wrote :

(As a permalink reference should the above link change/stop working). The spreadsheet is a layout for the metadata naming of the Roboto family; it has 14 fonts (6 weights upright, 6 weights italic, 1 condensed upright, 1 condensed italic).

There are columns for Styling Group Name/Styling Link Name/Full Font Name/PostScript Name/Typographic Family Name/Typographic Style Name/Weight Styling/Link “is bold”/Styling Link “is italic” plus Fontlab's internal idea of the same, plus Opentype numerical table numbers for each, plus the limitations (length) on each.

Everything gets its own Styling Group Name "X Light" "X Medium" "X Black" except for Regular and Bold which both get plain "X" and use the binary bits. It looks relatively sane, and would solve our problems with Light/Medium getting muddled. Applying those to what we have in Ubuntu (with s/Roboto/Ubuntu/g), then an old style application would show:

Ubuntu
[Ubuntu Black]
Ubuntu Condensed
Ubuntu Light
Ubuntu Medium
Ubuntu Mono
[Ubuntu Thin]

As far as I can see the weird problems stemming from the attempts to link Light/Medium would be resolved.

Revision history for this message
Dave Crossland (davelab6) wrote : Re: [Bug 859673] Re: [nc] Technical: Metadata: Regular does not have PSName Ubuntu-Regular and "Ubuntu Regular"

Only the RIBBI family should have 4 styles, all others should be 2 styles,
RI

Revision history for this message
Paul Sladen (sladen) wrote :

Yup, so to allow this working consistently across all OSes this needs processing.. Succinctly this means:

  Ubuntu-Medium.ttf fsSelection "bold" flag is currently 1, change to 0
  Ubuntu-MediumItalic.ttf fsSelection "bold" flag is currently 1, change to 0
  Ubuntu-Regular.ttf postScriptName is currently "Ubuntu", change to "Ubuntu-Regular"

Given the timescales, this probably wants binary patching and rolling out on the 0.8x branch too.

Changed in ubuntu-font-family:
status: New → In Progress
assignee: nobody → Paul Sladen (sladen)
dino99 (9d9)
Changed in ubuntu-font-family:
assignee: Paul Sladen (sladen) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.