'Italic' shortcut not working with some fonts

ry
ryonday
Posts: 2
Joined: Sun Oct 09, 2016 2:32 pm
Platform: Mac

Sun Oct 09, 2016 3:02 pm Post

Configuration Information:
Mac:
Screen Shot 2016-10-09 at 9.34.43 AM.png
Mac Info
Screen Shot 2016-10-09 at 9.34.43 AM.png (21.1 KiB) Viewed 719 times

Scrivener:
Screen Shot 2016-10-09 at 9.35.44 AM.png
Scrivener Info
Screen Shot 2016-10-09 at 9.35.44 AM.png (4.84 KiB) Viewed 719 times

Issue:

I love, love love the DejaVu series of fonts. I also love using italics. Unfortunately, it appears that when I upgraded to MacOS Sierra, I can no longer use the Command-i shortcut key to get italics with Scrivener and this font. There are a few very weird things about this!

First, the setup:

I've installed the latest version of the font (http://dejavu-fonts.org/wiki/Download), and created a new document with the font selected. It does have an italic option:

Screen Shot 2016-10-09 at 9.44.59 AM.png
Font has italics
Screen Shot 2016-10-09 at 9.44.59 AM.png (23.11 KiB) Viewed 719 times


(At this point, phpBB (or Safari; I'm not certain of the guilty party), is not allowing me to upload more files, so I'm using imgur from now on; sorry for the inconvenience!

However, pressing Cmd-i results in the MacOS "boop" error sound, and indeed, the format menu shows "Italic" grayed out: http://imgur.com/a/LIEd0

The weird thing is that bold and underline do work. And if I bold first, I can italicize with both the shortcut and a menu item!
Before: http://imgur.com/a/DEPnF
After: http://imgur.com/a/LLo9q

The weird thing is that I can do the same order of operations in the exact reverse: un-italicize and then un-bold to get to normal.. but if I un-bold first, I can no-longer un-italicize!: http://imgur.com/DESMpWj

My thinking is that in Sierra, they may have changed the font API's method of communicating that there is an italic version of a font somehow. Therefore, I'm aware that it could be a problem specifically with the RTF API that handles fonts; I would wager you guys don't directly use the font API but I thought I would post this just in case.

Thank you for listening, in either case!

ry
ryonday
Posts: 2
Joined: Sun Oct 09, 2016 2:32 pm
Platform: Mac

Sun Oct 09, 2016 3:07 pm Post

I just tried this same thing in Mac TextEdit which I presume leverages the same RTF API as Scrivener does, and it suffers from the same issue with this font!

The funny thing is that Apple's own word processor, Pages, works just fine with the DejaVu font and shortcut keys. I suppose that what's good for the goose isn't necessarily good for the gander. This is probably a combination of errors between the font definition and RTF API changes in Sierra.

I apologize for any inconvenience for shuttling Apple bugs to you. I can delete the topic if need be!

jk
jkonrath
Posts: 7
Joined: Sun Apr 17, 2011 5:14 am
Platform: Mac

Sat Dec 23, 2017 4:55 pm Post

I actually just ran into this too. I'm on the latest of 2.8. Font is Goudy Old Style.
I updated to a new machine just the other day - 2017 MBP with High Sierra. Was on a 2014 with El Capitan, no problem.
What's odd is that if I go into the format bar and pick the I, or go into fonts and manually select the Italic font, it will apply correctly. It's just the Cmd-I doesn't work anymore, and from the Format menu, the Italic choice is greyed out.
Just checked with TextEdit, and the Cmd-I works fine. Weird.

User avatar
KB
Site Admin
Posts: 19485
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Fri Jan 05, 2018 3:06 pm Post

Thanks, I can reproduce this in Scrivener and TextEdit on both Sierra and High Sierra. It seems to be an Apple bug whereby the font manager is disabling italicisation via menus/keyboard shortcuts for certain fonts that have valid italic typefaces (the "Italic" menu item calls through to the standard Apple font manage object).

I have reported the bug to Apple as ID#36318497.

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

 

 

cron