Skip to content

Commit

Permalink
final, width metric and kerning
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine-Gelgon committed Mar 15, 2015
1 parent 3c5f12c commit bebff3c
Show file tree
Hide file tree
Showing 201 changed files with 29,924 additions and 7,124 deletions.
Binary file added Sources/Career_01.tiff
Binary file not shown.
Binary file added Sources/Career_02.tiff
Binary file not shown.
Binary file added Sources/Career_03.tiff
Binary file not shown.
Binary file added Sources/order-fonts/question.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
114 changes: 114 additions & 0 deletions Specimen/Career-spe.sla

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions Specimen/Career-spe.sla.autosave

Large diffs are not rendered by default.

Binary file added Specimen/alex career1.tif
Binary file not shown.
Binary file added Specimen/alex career2.tif
Binary file not shown.
Binary file added Specimen/alex career3.tif
Binary file not shown.
Binary file added Specimen/font.tiff
Binary file not shown.
Binary file added Specimen/image1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Specimen/pr-Career.pdf
Binary file not shown.
Binary file added Testing/Cap.pdf
Binary file not shown.
Binary file added Testing/Text.pdf
Binary file not shown.
Binary file added Testing/a-z.pdf
Binary file not shown.
Binary file added Testing/adhesion.pdf
Binary file not shown.
Binary file added Testing/hamburgefonstiv.pdf
Binary file not shown.
Binary file added Testing/headline.pdf
Binary file not shown.
Binary file added Testing/hinting.pdf
Binary file not shown.
Binary file added Testing/kern.pdf
Binary file not shown.
Binary file added Testing/latin.pdf
Binary file not shown.
Binary file added Testing/layout.pdf
Binary file not shown.
Binary file added Testing/lettrering.pdf
Binary file not shown.
Binary file added Testing/words.pdf
Binary file not shown.
109 changes: 107 additions & 2 deletions files-font/UFO/feature.fea
@@ -1,10 +1,115 @@

# GSUB


lookup ligaLigaturesstandarddansLatinl {
lookupflag 0;
sub \f \l by \uniFB02;
sub \e \grave by \egrave;
sub \a \acute by \aacute;
sub \e \acute by \eacute;
sub \grave by \igrave;
sub \f \i by \uniFB01;
sub \f \f by \uniFB00;
sub \f \f \l by \uniFB04;
sub \f \f \i by \uniFB03;
} ligaLigaturesstandarddansLatinl;

feature liga {

script DFLT;
language dflt ;
lookup ligaLigaturesstandarddansLatinl;

script latn;
language dflt ;
lookup ligaLigaturesstandarddansLatinl;
} liga;

# GPOS


lookup kernCrnagehorizontaldansLatinlo {
lookupflag 0;
@kc6_first_1 = [\V ];
@kc6_first_2 = [\P ];
@kc6_first_3 = [\W ];
@kc6_first_4 = [\T ];
@kc6_first_5 = [\F ];
@kc6_first_6 = [\A \Agrave \Aacute \Acircumflex \Adieresis ];
@kc6_first_7 = [\v \w \y \yacute \ydieresis ];
@kc6_first_8 = [\f ];
@kc6_second_1 = [\A \Agrave \Aacute \Acircumflex \Atilde \Adieresis \AE ];
@kc6_second_2 = [\T \V \W ];
@kc6_second_3 = [\a \agrave \aacute \acircumflex \atilde \adieresis \ae ];
@kc6_second_4 = [\c \e \o \ccedilla \egrave \eacute \ecircumflex \edieresis \ograve \oacute
\ocircumflex \otilde \odieresis ];
@kc6_second_5 = [\m \n \p \r \x ];
@kc6_second_6 = [\v \w ];
pos @kc6_first_1 @kc6_second_1 -230;
pos @kc6_first_1 @kc6_second_3 -120;
pos @kc6_first_1 @kc6_second_4 -120;
pos @kc6_first_2 @kc6_second_1 -150;
pos @kc6_first_2 @kc6_second_3 -70;
pos @kc6_first_2 @kc6_second_4 -118;
pos @kc6_first_3 @kc6_second_1 -230;
pos @kc6_first_3 @kc6_second_3 -247;
pos @kc6_first_3 @kc6_second_4 -252;
pos @kc6_first_4 @kc6_second_1 -160;
pos @kc6_first_4 @kc6_second_3 -70;
pos @kc6_first_4 @kc6_second_4 -70;
pos @kc6_first_4 @kc6_second_5 -70;
pos @kc6_first_4 @kc6_second_6 -70;
pos @kc6_first_5 @kc6_second_1 -150;
pos @kc6_first_5 @kc6_second_3 -128;
pos @kc6_first_5 @kc6_second_4 -80;
pos @kc6_first_5 @kc6_second_5 -70;
pos @kc6_first_5 @kc6_second_6 -70;
pos @kc6_first_6 @kc6_second_1 90;
pos @kc6_first_6 @kc6_second_2 -180;
pos @kc6_first_6 @kc6_second_4 -66;
pos @kc6_first_6 @kc6_second_6 -100;
pos @kc6_first_7 @kc6_second_3 -70;
pos @kc6_first_7 @kc6_second_4 -70;
pos @kc6_first_8 @kc6_second_1 -70;
pos @kc6_first_8 @kc6_second_3 -40;
pos @kc6_first_8 @kc6_second_4 -40;
pos @kc6_first_8 @kc6_second_5 -40;
subtable;
pos \F \A -150;
} kernCrnagehorizontaldansLatinlo;

feature kern {

script DFLT;
language dflt ;
lookup kernCrnagehorizontaldansLatinlo;

script latn;
language dflt ;
lookup kernCrnagehorizontaldansLatinlo;
} kern;
#Mark attachment classes (defined in GDEF, used in lookupflags)

@GDEF_Simple = [\a \o \r \d \s \e \space \n \f \c \p \b \g \t \m \i \h \l \q \j \u \v \w \x \y \T \L \H
\k \z \B \P \C \R \D \E \F \N \I \A \K \O \Q \S \M \U \V \W \J \X \Y \G \Z ];
\k \z \B \P \C \R \D \E \F \N \I \A \K \O \Q \S \M \U \V \W \J \X \Y \G \Z \zero \comma \period
\semicolon \colon \parenleft \parenright \nine \eight \one \two \three \four \five
\six \seven \at \question \bracketleft \bracketright \backslash \exclam
\ampersand \grave \acute \ograve \oacute \ugrave \uacute \yacute \Ograve \Agrave
\Aacute \Egrave \Eacute \Igrave \Iacute \Oacute \Ugrave \Uacute \slash
\asciicircum \ocircumflex \Ocircumflex \ecircumflex \Ucircumflex \ucircumflex
\Acircumflex \Icircumflex \udieresis \acircumflex \agrave \dieresis \Adieresis
\adieresis \edieresis \odieresis \Ecircumflex \Edieresis \Idieresis \Odieresis
\Udieresis \ydieresis \asciitilde \atilde \ntilde \otilde \Ntilde \Yacute
\Otilde \iacute \icircumflex \idieresis \Atilde \bar \cedilla \Ccedilla
\ccedilla \ae \guillemotleft \guillemotright \braceleft \uniFB05 \quotesingle
\equal \uni0080 \quotedbl \hyphen \underscore \less \greater \plus \AE \oe \dollar
\braceright \exclamdown \divide \numbersign \quoteright \asterisk \OE ];
@GDEF_Ligature = [\uniFB02 \egrave \aacute \eacute \igrave \uniFB01 \uniFB00
\uniFB04 \uniFB03 ];

table GDEF {
GlyphClassDef @GDEF_Simple, , , ;
GlyphClassDef @GDEF_Simple, @GDEF_Ligature, , ;

} GDEF;

6 changes: 3 additions & 3 deletions files-font/UFO/fontinfo.plist
Expand Up @@ -16,7 +16,7 @@ Under OpenFont License http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&
<key>xHeight</key>
<integer>500</integer>
<key>capHeight</key>
<integer>808</integer>
<integer>807</integer>
<key>ascender</key>
<integer>800</integer>
<key>descender</key>
Expand Down Expand Up @@ -51,9 +51,9 @@ Under OpenFont License http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&
<key>openTypeOS2TypoLineGap</key>
<integer>90</integer>
<key>openTypeOS2WinAscent</key>
<integer>818</integer>
<integer>1038</integer>
<key>openTypeOS2WinDescent</key>
<integer>-167</integer>
<integer>-187</integer>
<key>postscriptFontName</key>
<string>Career</string>
<key>postscriptFullName</key>
Expand Down
90 changes: 45 additions & 45 deletions files-font/UFO/glyphs/A_.glif
@@ -1,55 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="A" format="1">
<advance width="789"/>
<advance width="835"/>
<unicode hex="0041"/>
<outline>
<contour>
<point x="484" y="262" type="line"/>
<point x="484" y="246" type="line"/>
<point x="226,422" y="246" type="line"/>
<point x="226,422" y="262" type="line"/>
<point x="728,547" y="90,665" type="line" smooth="yes"/>
<point x="752,635" y="29,833"/>
<point x="825,68" y="8"/>
<point x="825,68" y="8" type="curve"/>
<point x="825,68" y="0" type="line"/>
<point x="732,677" y="12,5596"/>
<point x="552,677" y="11,5713"/>
<point x="458,68" y="0" type="curve"/>
<point x="458,68" y="8" type="line"/>
<point x="458,68" y="8"/>
<point x="564,916" y="24,5723"/>
<point x="540,545" y="82,668" type="curve"/>
<point x="476,382" y="246" type="line"/>
<point x="240,407" y="246" type="line"/>
<point x="211,047" y="170,997" type="line" smooth="yes"/>
<point x="154,353" y="26,1641"/>
<point x="323,545" y="8"/>
<point x="323,545" y="8" type="curve"/>
<point x="323,545" y="0" type="line"/>
<point x="232,046" y="9,58594"/>
<point x="103,992" y="11,7979"/>
<point x="10" y="0" type="curve"/>
<point x="10,0469" y="8,25" type="line"/>
<point x="121,88" y="11"/>
<point x="195,047" y="178,997"/>
<point x="195,047" y="178,997" type="curve"/>
<point x="349,012" y="563,036" type="line"/>
<point x="335,714" y="586,07"/>
<point x="321,912" y="597,991"/>
<point x="301,621" y="597,991" type="curve"/>
<point x="298,813" y="603,294" type="line"/>
<point x="342,795" y="635,63"/>
<point x="350,978" y="655,332"/>
<point x="378,547" y="698" type="curve" smooth="yes"/>
<point x="399,547" y="730,5"/>
<point x="433,894" y="815,608"/>
<point x="433,894" y="815,608" type="curve"/>
<point x="440,547" y="818" type="line"/>
</contour>
<contour>
<point x="377,422" y="615,498" type="line"/>
<point x="203,422" y="170,997" type="line" smooth="yes"/>
<point x="146,727" y="26,1641"/>
<point x="315,92" y="7,99902"/>
<point x="315,92" y="7,99902" type="curve"/>
<point x="315,92" y="-0,000976562" type="line"/>
<point x="224,421" y="9,58466"/>
<point x="96,3672" y="11,7974"/>
<point x="2,375" y="0" type="curve"/>
<point x="2,42188" y="8,25" type="line"/>
<point x="114,255" y="11"/>
<point x="187,422" y="178,997"/>
<point x="187,422" y="178,997" type="curve"/>
<point x="362,42" y="615,498" type="line"/>
</contour>
<contour>
<point x="720,922" y="90,665" type="line" smooth="yes"/>
<point x="745,01" y="29,833"/>
<point x="818,055" y="8"/>
<point x="818,055" y="8" type="curve"/>
<point x="818,055" y="0" type="line"/>
<point x="725,052" y="12,5591"/>
<point x="545,052" y="11,571"/>
<point x="451,055" y="0" type="curve"/>
<point x="451,055" y="8" type="line"/>
<point x="451,055" y="8"/>
<point x="557,291" y="24,5723"/>
<point x="532,92" y="82,668" type="curve" smooth="yes"/>
<point x="354,479" y="536,903" type="line"/>
<point x="336,422" y="577"/>
<point x="320,922" y="597,991"/>
<point x="293,996" y="597,991" type="curve"/>
<point x="291,188" y="603,294" type="line"/>
<point x="335,17" y="635,63"/>
<point x="343,352" y="655,332"/>
<point x="370,922" y="698" type="curve" smooth="yes"/>
<point x="391,922" y="730,5"/>
<point x="426,268" y="815,608"/>
<point x="426,268" y="815,608" type="curve"/>
<point x="432,922" y="818" type="line"/>
<point x="357,863" y="546,053" type="curve"/>
<point x="246,67" y="262" type="line"/>
<point x="470,096" y="262" type="line"/>
<point x="362,104" y="536,903" type="line" smooth="yes"/>
<point x="360,677" y="540,073"/>
<point x="359,265" y="543,123"/>
</contour>
</outline>
<lib>
Expand Down
138 changes: 138 additions & 0 deletions files-font/UFO/glyphs/A_E_.glif
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="AE" format="1">
<advance width="1284"/>
<unicode hex="00C6"/>
<outline>
<contour>
<point x="786,696" y="793" type="curve" smooth="yes"/>
<point x="759,506" y="789,858"/>
<point x="730,097" y="786,799"/>
<point x="695,659" y="786,561" type="curve" smooth="yes"/>
<point x="631,7" y="786,535"/>
<point x="567,765" y="791,08"/>
<point x="521,159" y="800,5" type="curve"/>
<point x="521,159" y="792,5" type="line"/>
<point x="521,159" y="792,5"/>
<point x="548,698" y="788,365"/>
<point x="573,804" y="774,479" type="curve"/>
<point x="209,659" y="178,998" type="line"/>
<point x="209,659" y="178,998"/>
<point x="121,493" y="11,001"/>
<point x="9,65918" y="8,25098" type="curve"/>
<point x="9,6123" y="0" type="line"/>
<point x="103,604" y="11,7978"/>
<point x="231,659" y="9,58594"/>
<point x="323,157" y="0" type="curve"/>
<point x="323,157" y="8" type="line"/>
<point x="323,157" y="8"/>
<point x="167,533" y="26,7363"/>
<point x="225,659" y="170,998" type="curve"/>
<point x="270,807" y="246,001" type="line"/>
<point x="612,297" y="246,001" type="line"/>
<point x="611,659" y="85" type="line" smooth="yes"/>
<point x="611,509" y="22"/>
<point x="519,659" y="8"/>
<point x="519,659" y="8" type="curve"/>
<point x="519,659" y="0" type="line"/>
<point x="872,159" y="0" type="line" smooth="yes"/>
<point x="1211,66" y="0" type="line"/>
<point x="1254" y="282,993" type="line"/>
<point x="1244,66" y="282,993" type="line"/>
<point x="1244,66" y="282,993"/>
<point x="1208,66" y="16,9854"/>
<point x="872,159" y="16,9854" type="curve" smooth="yes"/>
<point x="846,659" y="16,9854"/>
<point x="786,376" y="20,7432"/>
<point x="786,659" y="85" type="curve" smooth="yes"/>
<point x="787,09" y="389,912" type="line"/>
<point x="816,659" y="389,912" type="line"/>
<point x="816,659" y="389,912"/>
<point x="1023,66" y="389,911"/>
<point x="1023,66" y="202,911" type="curve"/>
<point x="1032,99" y="202,911" type="line"/>
<point x="1032,99" y="593" type="line"/>
<point x="1023,66" y="593" type="line"/>
<point x="1023,66" y="406"/>
<point x="816,659" y="406"/>
<point x="816,659" y="406" type="curve"/>
<point x="787,112" y="406" type="line"/>
<point x="787,635" y="776,061" type="line"/>
<point x="792,514" y="777,374"/>
<point x="816,194" y="782,886"/>
<point x="870,04" y="782,886" type="curve" smooth="yes"/>
<point x="1083,98" y="782,886"/>
<point x="1202,66" y="568"/>
<point x="1202,66" y="568" type="curve"/>
<point x="1212,06" y="568" type="line"/>
<point x="1134,83" y="771,5" type="line"/>
<point x="1134,83" y="771,5"/>
<point x="1003,16" y="799,875"/>
<point x="870,04" y="799,875" type="curve"/>
<point x="831,083" y="798,72"/>
<point x="820,609" y="796,685"/>
<point x="787,659" y="793,104" type="curve"/>
<point x="787,659" y="793,112" type="line" smooth="yes"/>
<point x="787,338" y="793,075"/>
<point x="787,017" y="793,038"/>
</contour>
<contour>
<point x="584,778" y="767,596" type="line"/>
<point x="601,163" y="755,904"/>
<point x="614,253" y="739,156"/>
<point x="614,159" y="715,5" type="curve" smooth="yes"/>
<point x="612,361" y="262,001" type="line"/>
<point x="280,438" y="262,001" type="line"/>
</contour>
</outline>
<lib>
<dict>
<key>com.fontlab.hintData</key>
<dict>
<key>hhints</key>
<array>
<dict>
<key>position</key> <integer>0</integer>
<key>width</key> <integer>17</integer>
</dict>
<dict>
<key>position</key> <integer>0</integer>
<key>width</key> <integer>8</integer>
</dict>
<dict>
<key>position</key> <integer>390</integer>
<key>width</key> <integer>16</integer>
</dict>
<dict>
<key>position</key> <integer>783</integer>
<key>width</key> <integer>17</integer>
</dict>
<dict>
<key>position</key> <integer>792</integer>
<key>width</key> <integer>8</integer>
</dict>
</array>
<key>vhints</key>
<array>
<dict>
<key>position</key>
<integer>612</integer>
<key>width</key>
<integer>175</integer>
</dict>
<dict>
<key>position</key>
<integer>787</integer>
<key>width</key>
<integer>1</integer>
</dict>
<dict>
<key>position</key>
<integer>1024</integer>
<key>width</key>
<integer>9</integer>
</dict>
</array>
</dict>
</dict>
</lib>
</glyph>

0 comments on commit bebff3c

Please sign in to comment.