Quotes appear as digits 8 and 9 on OS X Yosemite in some cases

Bug #1402934 reported by Joel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Font Family
New
Undecided
Unassigned

Bug Description

Suppose I use the Ubuntu Regular font, any point size on OS X in any of the following popular programs:

Pages (word processor by Apple)
TextEdit (simpler text editor, by Apple)
Sketch (popular design app for UI design by Bohemian Coding)

Then, if I type anything like the following code using the Ubuntu Regular font:

{
    "city_id" : "{request.url.city_id}"
}

then the Ubuntu Regular font instead uses 8 for the opening quote and 9 for the closing quote, so it looks like

{
    8city_id9: 8{request.url.city_id}9
}

except that the 8 and 9 are "superscripted" in their vertical placement, exactly where the real quotes should go.

Since this happens on so many major and well-tested apps on OS X, I strongly suspect that the bug is with the Ubuntu Regular font itself, or with its interaction with the OS X font system.

Please see the attached screenshots.

Thanks

Tags: mac osx quotes
Revision history for this message
Joel (iosdev) wrote :
Revision history for this message
Joel (iosdev) wrote :

More evidence that this is not just constrained to OS X or Pages:

Tiny MCE editor and WordPress:
https://wordpress.org/support/topic/apostrophe-appearing-as-superscript-9-in-tinymce-editor

Issue with smart quotes might be the problem:
https://discussions.apple.com/thread/6510381?start=0&tstart=0

Revision history for this message
Joel (iosdev) wrote :

I just confirmed that in Pages doing the following temporarily fixes the problem:

Edit => Substitutions => Ensure Smart Quotes is turned off

However, this is only a temporary fix and the issue is clearly smart quotes in the font and potential Unicode non-compliance of the font.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

Thank you for your report. This is a known problem, please see bug 1334363 which is an earlier report describing this issue. Feel free to add comments there if you want to add something.

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

Joel: your analytical skills would be really appreciated in narrowing down some precise testcases.

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.