FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fake cleartype hinting · devhttps/frontend@22c916e · GitHub

Commit 22c916e

Browse files
committed
fake cleartype hinting
1 parent d3ed4db commit 22c916e

1 file changed

Lines changed: 120 additions & 0 deletions

File tree

‎tools/__tasks__/compile/fonts/index.config.js‎

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,126 @@ module.exports = [
467467
},
468468
],
469469
},
470+
{
471+
dest: 'GuardianHeadlineCleartypeHinted.woff2.json',
472+
'font-family': '"Guardian Egyptian Web"',
473+
fonts: [
474+
{
475+
'font-weight': '200',
476+
src:
477+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Light.woff2',
478+
},
479+
{
480+
'font-weight': '200',
481+
'font-style': 'italic',
482+
src:
483+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-LightItalic.woff2',
484+
},
485+
{
486+
'font-weight': '400',
487+
src:
488+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Medium.woff2',
489+
},
490+
{
491+
'font-weight': '400',
492+
'font-style': 'italic',
493+
src:
494+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-MediumItalic.woff2',
495+
},
496+
{
497+
'font-weight': '500',
498+
src:
499+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Semibold.woff2',
500+
},
501+
// This weight contains only a certain set of chars
502+
// since it is used only in one place (section names)
503+
{
504+
'font-weight': '900',
505+
src:
506+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Bold.woff2',
507+
},
508+
],
509+
},
510+
{
511+
dest: 'GuardianHeadlineCleartypeHinted.woff.json',
512+
'font-family': '"Guardian Egyptian Web"',
513+
fonts: [
514+
{
515+
'font-weight': '200',
516+
src:
517+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Light.woff',
518+
},
519+
{
520+
'font-weight': '200',
521+
'font-style': 'italic',
522+
src:
523+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-LightItalic.woff',
524+
},
525+
{
526+
'font-weight': '400',
527+
src:
528+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Medium.woff',
529+
},
530+
{
531+
'font-weight': '400',
532+
'font-style': 'italic',
533+
src:
534+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-MediumItalic.woff',
535+
},
536+
{
537+
'font-weight': '500',
538+
src:
539+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Semibold.woff',
540+
},
541+
// This weight contains only a certain set of chars
542+
// since it is used only in one place (section names)
543+
{
544+
'font-weight': '900',
545+
src:
546+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Bold.woff',
547+
},
548+
],
549+
},
550+
{
551+
dest: 'GuardianHeadlineCleartypeHinted.ttf.json',
552+
'font-family': '"Guardian Egyptian Web"',
553+
fonts: [
554+
{
555+
'font-weight': '200',
556+
src:
557+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Light.ttf',
558+
},
559+
{
560+
'font-weight': '200',
561+
'font-style': 'italic',
562+
src:
563+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-LightItalic.ttf',
564+
},
565+
{
566+
'font-weight': '400',
567+
src:
568+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Medium.ttf',
569+
},
570+
{
571+
'font-weight': '400',
572+
'font-style': 'italic',
573+
src:
574+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-MediumItalic.ttf',
575+
},
576+
{
577+
'font-weight': '500',
578+
src:
579+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Semibold.ttf',
580+
},
581+
// This weight contains only a certain set of chars
582+
// since it is used only in one place (section names)
583+
{
584+
'font-weight': '900',
585+
src:
586+
'hinting-auto/kerning-on/noalts/GuardianHeadline/GHGuardianHeadline-Bold.ttf',
587+
},
588+
],
589+
},
470590
{
471591
dest: 'GuardianTextSansWebCleartypeHinted.woff2.json',
472592
'font-family': '"Guardian Text Sans Web"',

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL