Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Typekit Error "Adjusting Mac Style"

Tags:

css

I get the following errors in my firefox-console when i use italic styles of a typekit font (din-2014).

downloadable font: OS/2: adjusting Mac style (regular) (font-family: "tk-din-2014-i2" style:italic weight:200 stretch:normal src index:0) source: https://use.typekit.net/af/a8689e/00000000000000003b9aee0b/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i2&token=1MThhP5l1O0ejpAro7ZFnw%3D%3D

Image of my console

Should i do something to solve this problem or can i just go on with it?

like image 241
public9nf Avatar asked Feb 20 '17 11:02

public9nf


1 Answers

This warning is generated by the OpenType Sanitizer (OTS) library which is included in Firefox.1

"The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes."2

To fix the warning you would need to change the font file.

You can verify that the font is still being applied using the Firefox inspector:

Firefox inspector screenshot


  1. https://github.com/khaledhosny/ots/blob/2ecd07625c18dbc0f6b808d7565ed4448f064b52/src/os2.cc#L151
  2. https://github.com/khaledhosny/ots
like image 68
user Avatar answered Oct 31 '22 16:10

user