Tomek Weksej
7554d7ab76
🐛 Fix font weight/style metadata ( #186 )
...
This fixes a bug that Bold is interpreted as a standard font style (instead of Book) by some applications and operating systems.
This sets correct values to following metadata:
* head: macStyle: https://learn.microsoft.com/en-us/typography/opentype/spec/head
* OS/2: fsSelection: https://learn.microsoft.com/en-us/typography/opentype/spec/os2#fsselection
* OS/2: usWeightClass: https://learn.microsoft.com/en-us/typography/opentype/spec/os2#usweightclass
2024-03-20 10:36:17 -04:00
Jakob Pearson
fff435748f
Merge remote-tracking branch 'kiliman/master' ( #185 )
...
* OperatorMonoSSm (Light, Book, Medium, Bold)
New Ligatures:
- colon_colon
- exclam_exclam
- semicolon_semicolon
- less_less
- greater_greater
- hyphen_equal (minus_equal)
- asterisk_equal
- slash_equal
- less_slash_greater
- less_less_equal
- quotedbl_quotedbl_quotedbl
- quotesingle_quotesingle_quotesingle
New Powerline Glyhps:
- E0A1 (Powerline LN)
- E0A2 (Powerline lock)
- E0B1 (Powerline left soft divider)
- E0B3 (Powerline right soft divider)
Features:
- ss10 can be used to substitute 'x' for '×'. Eg 0×FF or 800×600
- 'Equality Spaces' and 'Less-than/Greater-than Horizontal Bar' alternatives are included
by default, and can be activated via ss11 and ss12 respectively.
- Corrected and simplified features code to include the missing 'kern' feature for
fraction numerator and denominator positioning.
- 'calt.js' will also generate the 'liga' feature.
Edited and repositioned some existing glyphs to be more consistent across font weights.
Created missing glyphs for other weights. Eg 'w_w_w.liga' and 'plus_equal.liga'
* 'calt.js' no longer generates the 'liga' feature.
* Adjusted hinting, no contours changed.
2023-12-21 11:21:24 -05:00
kiliman
1028c96291
🔥 Delete gsub.js and replace with calt feature
2020-12-13 10:07:52 -05:00
kiliman
e692fcfbf8
🔨 Make italics-hack the default option with ability to turn it off
2020-05-13 08:23:09 -04:00
kiliman
321486d19e
🐛 Add init function to only apply the hack once instead of per ligature
2020-05-12 12:05:21 -04:00
kiliman
6f3d00ae6d
🪓 Add hack for italics by removing existing GSUB tables
2020-05-12 09:36:58 -04:00
kiliman
cad9759288
📝 Add comment for family name value
2020-03-09 17:10:52 -04:00
kiliman
d3940070ed
🐛 Fix multiple font generation using profiles
2020-03-09 17:08:59 -04:00
Jakob6174
d6c1df83ed
Minor inconsistency in newly generated fontnames, original font doesn't specify 'font weight' for this particular 'namerecord'
2020-03-09 16:23:33 +00:00
Kiliman
371be6a082
🎨 Prettier formatting
2019-07-24 09:58:01 -04:00
Kiliman
360402a197
⚡ ️ Add support for mapping non-ligature glyphs
2019-07-24 09:58:01 -04:00
Kiliman
9cef42b1fb
🐛 Fix errors if glyphs don't exist for other font weights
2019-07-24 09:58:01 -04:00
Kiliman
8360f4ad81
🐛 Fix profile parsing
2019-07-24 09:58:01 -04:00
Kiliman
28eb8b58e5
Add support for non-ligature glyphs
2019-07-24 09:58:01 -04:00
Emanuele Ballarin
91c4421765
Make drop-in compatible with previous implementation
...
Fixed variable types, now everything gathered from original fonts or property JSONs, and everything passed as font properties is 'const'.
2019-07-24 09:57:20 -04:00
Emanuele Ballarin
3ed59809de
Revert useless whitespace-only modifications
...
Fix for an autoformatter side-effect.
2019-07-24 09:57:20 -04:00
Emanuele Ballarin
660c719779
Fix font family names in PS and TTF metadata
...
Fix font family names in PS and TTF metadata, as already defined in original font and master branch
2019-07-24 09:57:20 -04:00
kiliman
9398884dc6
Update extract and build process with support for context substitutions
2019-07-24 09:57:20 -04:00
kiliman
b43272c7f7
Fix end of line issues on Windows
...
closes #57
2018-11-28 09:59:00 -05:00
Kiliman
f4bd537f82
Add try/catch and code formatting
2017-09-18 17:50:32 -04:00
kiliman
f8fdbd34e2
Patch GPOS and GSUB tables
2017-09-18 17:33:14 -04:00
kiliman
384a9e7237
Fix corrupt Windows font (due to CLRF vs LF in charstrings)
2017-09-18 14:32:18 -04:00
kiliman
5dfe22a241
Fix patching font names
2017-09-18 14:31:33 -04:00
Kiliman
e5e68a0ab3
Always add the ligature lookup table to the end so determine index
2017-09-16 08:56:58 -04:00
Kiliman
a2de886a4a
Merge branch 'features/new-structure'
2017-09-15 19:24:50 -04:00
Kiliman
e2a3806b6a
Merge common entries from parent
2017-09-15 19:03:26 -04:00
kiliman
c83c8689f2
Patch names
2017-09-12 15:43:26 -04:00
Kiliman
dab02e1177
Create folders for each font and move common to parent
2017-09-12 15:04:53 -04:00
kiliman
817aa1b083
Update extract and build to use new ligature definition paths
2017-08-20 11:26:50 -04:00
kiliman
1bddb3f7d7
Remove debug cruft
2017-08-20 11:26:20 -04:00
kiliman
a330e899b3
Initial import
2017-08-13 19:23:23 -04:00