[1 mod] Mono: comma and semi-colon render slightly differently

Bug #851896 reported by Mladen Mijatov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Font Family
In Progress
Low
Unassigned
fonts-ubuntu (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Comma and semi-colon characters render differently in smaller sizes, around 11pt.

See attached screenshot.

It may make sense to fix this bug at the same time as bug 869963.

Revision history for this message
Mladen Mijatov (meaneye-rcf) wrote :
Revision history for this message
Paul Sladen (sladen) wrote :

Right, what's happening here is that although the lower comma part of both the comma and semi-colon are identical, they are in a slightly different position horizontally within the design cell.

In this case, the ';' is placed slightly closed to the left edge, and the ',' slightly further away from the left-edge. This is very likely on purpose to give an overall more balanced feel in long runs of text.

In your example, the cells appear to be being rendered as 7x16 pixels[0]. Because of the offset in position, one is being drawn between the 4th and 5th pixel columns, and the other is being drawn mainly in the 5th pixel column.

The availability of grayscale and sub-pixel anti-aliasing is then causing the slight variation in the rendering. With the hinting work, we can likely make sure that the one are clamped to a pixel column in the same manner.

[0] (nominally 16 PPEM, although 11pt * 96 DPI / 72 pt/in would be 15 PPEM?). Slightly puzzled.

Is that a helpful answer, or have I just added more confusion? :-)

Changed in ubuntu-font-family:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Mladen Mijatov (meaneye-rcf) wrote :

Yes, makes sense. Thank you.

summary: - Mono: comma and semi-colon render slightly differently
+ [1 mod] Mono: comma and semi-colon render slightly differently
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

However, Ubuntu on PC -- like OS X -- does not pay attention to manual hinting by default. So if this bug is to be fixed for those platforms, it needs to be fixed in the design of the original characters. That might be enough to warrant lining up the comma and semi-colon exactly.

tags: added: uff-dm-review
description: updated
description: updated
Changed in ubuntu-font-family:
milestone: none → 0.92-beta-test
Changed in ubuntu-font-family:
status: Triaged → In Progress
Revision history for this message
Paul Sladen (sladen) wrote :

(Note the fix here is in the manual hinting code; which isn't used most of the time).

Changed in fonts-ubuntu (Ubuntu):
status: New → Triaged
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.