Commit 1320078b authored by Nikolaus Waxweiler's avatar Nikolaus Waxweiler
parent 333a14ad

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -10,7 +10,7 @@ insert_final_newline = true
charset = utf-8
end_of_line = lf
[*.{yaml,yml,xml,plist,glif,designspace,stylespace,doap}]
[*.{yaml,yml,xml,plist,glif,designspace,stylespace,doap,html}]
indent_style = space
indent_size = 2
......
......@@ -3,7 +3,6 @@ image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/base:latest
build:
script:
- dnf install -y libappstream-glib-devel gettext
- pip3 install --upgrade pip
- pip3 install meson ninja -r requirements.txt
- meson build
- ninja -C build install
......@@ -12,8 +11,7 @@ build:
- python3 scripts/flip-prebuilt-on.py meson_options.txt
- git add meson_options.txt
- cp /usr/local/share/fonts/cantarell/*.otf prebuilt
- cp /usr/local/share/fonts/cantarell/*.ttf prebuilt
- git add prebuilt/*.otf prebuilt/*.ttf
- git add prebuilt/*.otf
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
- git commit -m "Make package with prebuilt binaries, ninja will dist them."
......@@ -22,5 +20,4 @@ build:
paths:
- build/meson-dist
- prebuilt/*.otf
- prebuilt/*.ttf
expire_in: 7 days
Next version:
- Added variable font, TrueType flavor. No hinting for now.
0.200:
- (The design points below are mostly the result of design reviews by Alexei
Vanyashin, Jacques Le Bailly and Stephen Nixon, in no particular order).
- Respacing of uppercase letters in the regular master and complete thin and
extra bold masters. Uppercase letters space better next to lowercase letters
now. Cyrillics are more consistently spaced.
- Tweak numerals some. Especially the "one" and fractions.
- Various tweaks to various shapes across the board, especially symbols. Braces
are curlier now. Detail tweaks to Cyrillics.
- Basic mathy symbols and currency symbols now have tabular number width. I found
no advantage to having proportional variants.
- Removed .tosf numerals. Fiddly work without clear purpose.
- Experimental alternative form of "l" without the tail, contributed by Jacques
Le Bailly. Accessible via the ss01 feature.
- Added variable font, CFF2 flavor. postscriptBlueFuzz is set to 1 explicitly
to avoid rounding issues with blue zone coverage in FreeType.
- Removed f-ligatures without their own Unicode code points, as the design doesn't
currently need them. They were mainly added to fill up the Google glyph set.
- The following glyphs now represent more than one Unicode code point to keep the
glyph view tidier:
emdash: U+2014, U+2015
emspace: U+2001, U+2003
enspace: U+2000, U+2002
hyphen: U+002D, U+00AD, U+2010, U+2011
space: U+0020, U+00A0
In PDFs where the generator removed the text stream, copy-paste may lead to the
others turning into the first. Meh.
- Filled in hryvnia (U+20B4), tugrik (U+20AE) and tenge (U+20B8).
- Static fonts use same rounding method as varLib uses for the variable font.
- Set the UseTypoMetrics flag. This is recommended by the OpenType
specification but will result in line-height spacing problems in various
places, as the typo line height is generally ignored. May be reverted.
- Fixed Ustraight-cy (U+04AE), ustraight-cy (U+04AF), Ustraightstroke-cy
(U+04B0), ustraightstroke-cy (U+04B1), they didn't have a proper production
name before and may not have been properly accessible.
- Removed some building components that made it into the final font.
- Fixed various production names of combined diacritics.
- Limited anchor propagation to letters, excluding ligatures. Generate GDEF
table properly.
- Set one simple `gasp` table for hinted display for e.g. Windows.
- Removed `ccmp` from the `aalt` lookup.
- The OS/2 table fsType now says that no Digital Rights Management is applied
to the fonts, the name table now says the fonts are OFL 1.1 licensed.
- Internal housekeeping: Sources are in UFO and Designspace format now, with
various cleanups like removed unused layers.
- Internal housekeeping: Sources are stored in the open UFO and Designspace format
now, with various cleanups like removed unused layers.
- Internal housekeeping: Removed composite diacritics that served no design purpose.
0.111
- Fix the wrongly assigned OS/2 weight class values that e.g. led to Extra Bold
......
project('cantarell-fonts', version : '0.111')
project('cantarell-fonts', version : '0.200')
datadir = join_paths(get_option('prefix'), get_option('datadir'))
appdatadir = join_paths(datadir, 'metainfo')
......
......@@ -3,4 +3,4 @@ install_data('Cantarell-Light.otf', install_dir : fontsdir)
install_data('Cantarell-Regular.otf', install_dir : fontsdir)
install_data('Cantarell-Bold.otf', install_dir : fontsdir)
install_data('Cantarell-ExtraBold.otf', install_dir : fontsdir)
install_data('Cantarell-VF.ttf', install_dir : fontsdir)
install_data('Cantarell-VF.otf', install_dir : fontsdir)
from pathlib import Path
pi_text = (Path(__file__).parent / "pi.txt").read_text()
cantarell = installFont("/tmp/Cantarell-VF.otf")
paper_format = "A4Landscape"
border = 25
gutter = border * 0.5
pageWidth, pageHeight = sizes(paper_format)
boxWidth = pageWidth - border * 2
boxHeight = pageHeight - border * 2
for wght in (100, 400, 800):
newPage(paper_format)
font(cantarell)
fontVariations(wght=wght)
if wght == 400:
fontSize(12)
else:
fontSize(18)
textBox(pi_text, (border, border, boxWidth, boxHeight))
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327886593615338182796823030195203530185296899577362259941389124972177528347913151557485724245415069595082953311686172785588907509838175463746493931925506040092770167113900984882401285836160356370766010471018194295559619894676783744944825537977472684710404753464620804668425906949129331367702898915210475216205696602405803815019351125338243003558764024749647326391419927260426992279678235478163600934172164121992458631503028618297455570674983850549458858692699569092721079750930295532116534498720275596023648066549911988183479775356636980742654252786255181841757467289097777279380008164706001614524919217321721477235014144197356854816136115735255213347574184946843852332390739414333454776241686251898356948556209921922218427255025425688767179049460165346680498862723279178608578438382796797668145410095388378636095068006422512520511739298489608412848862694560424196528502221066118630674427862203919494504712371378696095636437191728746776465757396241389086583264599581339047802759009946576407895126946839835259570982582262052248940772671947826848260147699090264013639443745530506820349625245174939965143142980919065925093722169646151570985838741059788595977297549893016175392846813826868386894277415599185592524595395943104997252468084598727364469584865383673622262609912460805124388439045124413654976278079771569143599770012961608944169486855584840635342207222582848864815845602850601684273945226746767889525213852254995466672782398645659611635488623057745649803559363456817432411251507606947945109659609402522887971089314566913686722874894056010150330861792868092087476091782493858900971490967598526136554978189312978482168299894872265880485756401427047755513237964145152374623436454285844479526586782105114135473573952311342716610213596953623144295248493718711014576540359027993440374200731057853906219838744780847848968332144571386875194350643021845319104848100537061468067491927819119793995206141966342875444064374512371819217999839101591956181467514269123974894090718649423196156794520809514655022523160388193014209376213785595663893778708303906979207734672218256259966150142150306803844773454920260541466592520149744285073251866600213243408819071048633173464965145390579626856100550810665879699816357473638405257145910289706414011097120628043903975951567715770042033786993600723055876317635942187312514712053292819182618612586732157919841484882916447060957527069572209175671167229109816909152801735067127485832228718352093539657251210835791513698820914442100675103346711031412671113699086585163983150197016515116851714376576183515565088490998985998238734552833163550764791853589322618548963213293308985706420467525907091548141654985946163718027098199430992448895757128289059232332609729971208443357326548938239119325974636673058360414281388303203824903758985243744170291327656180937734440307074692112019130203303801976211011004492932151608424448596376698389522868478312355265821314495768572624334418930396864262434107732269780280731891544110104468232527162010526522721116603966655730925471105578537634668206531098965269186205647693125705863566201855810072936065987648611791045334885034611365768675324944166803962657978771855608455296541266540853061434443185867697514566140680070023787765913440171274947042056223053899456131407112700040785473326993908145466464588079727082668306343285878569830523580893306575740679545716377525420211495576158140
placeholders = "noNO"
cs = """₵¢₡¤$₫€ƒ₣₲₴₭₤₺₼₦₧₱₽₹£₸₮₩¥∙⁒∕≡≢+−×÷=≠><≥≤±≈~¬^∅∞∫Ω∆∏∑√∂µ%‰∶↑→↓←●○◊@&¶§©®™°′″|¦†ℓ‡℮№␣"""
ccs = r""".,:;…!¡?¿·•*#/\(){}[]-–—‒_‚„“”‘’«»‹›‵‴"'⟨⟩"""
def print_in_placeholders(characters, placeholders="noNO"):
strings = [[f"{p*2}{c}{p*2}" for c in characters] for p in placeholders]
for row in strings:
print("".join(row))
print()
basic_test = r"""nnonnoonoo nnannooaoo nnbnnooboo nncnnoocoo nndnnoodoo nnennooeoo nnfnnoofoo nngnnoogoo nnhnnoohoo nninnooioo nnjnnoojoo nnknnookoo nnlnnooloo nnmnnoomoo nnpnnoopoo nnqnnooqoo nnrnnooroo nnsnnoosoo nntnnootoo nnunnoouoo nnvnnoovoo nnwnnoowoo nnxnnooxoo nnynnooyoo nnznnoozoo
HHOHHOOHOO HHAHHOOAOO HHBHHOOBOO HHCHHOOCOO HHDHHOODOO HHEHHOOEOO HHFHHOOFOO HHGHHOOGOO HHIHHOOIOO HHJHHOOJOO HHKHHOOKOO HHLHHOOLOO HHMHHOOMOO HHNHHOONOO HHPHHOOPOO HHQHHOOQOO HHRHHOOROO HHSHHOOSOO HHTHHOOTOO HHUHHOOUOO HHVHHOOVOO HHWHHOOWOO HHXHHOOXOO HHYHHOOYOO HHZHHOOZOO
010N1N 020N2N 030N3N 040N4N 050N5N 060N6N 070N7N 080N8N 090N9N
nn0nnnn1nnnn2nnnn3nnnn4nnnn5nnnn6nnnn7nnnn8nnnn9nn
oo0oooo1oooo2oooo3oooo4oooo5oooo6oooo7oooo8oooo9oo
NN0NNNN1NNNN2NNNN3NNNN4NNNN5NNNN6NNNN7NNNN8NNNN9NN
OO0OOOO1OOOO2OOOO3OOOO4OOOO5OOOO6OOOO7OOOO8OOOO9OO
000000100200300400500600700800900
"""
lc_text = "lynx tuft frogs, dolphins abduct by proxy the ever awkward klutz, dud, dummkopf, jinx snubnose filmgoer, orphan sgt. renfruw grudgek reyfus, md. sikh psych if halt tympany jewelry sri heh! twyer vs jojo pneu fylfot alcaaba son of nonplussed halfbreed bubbly playboy guggenheim daddy coccyx sgraffito effect, vacuum dirndle impossible attempt to disvalue, muzzle the afghan czech czar and exninja, bob bixby dvorak wood dhurrie savvy, dizzy eye aeon circumcision uvula scrungy picnic luxurious special type carbohydrate ovoid adzuki kumquat bomb? afterglows gold girl pygmy gnome lb. ankhs acme aggroupment akmed brouhha tv wt. ujjain ms. oz abacus mnemonics bhikku khaki bwana aorta embolism vivid owls often kvetch otherwise, wysiwyg densfort wright you’ve absorbed rhythm, put obstacle kyaks krieg kern wurst subject enmity equity coquet quorum pique tzetse hepzibah sulfhydryl briefcase ajax ehler kafka fjord elfship halfdressed jugful eggcup hummingbirds swingdevil bagpipe legwork reproachful hunchback archknave baghdad wejh rijswijk rajbansi rajput ajdir okay weekday obfuscate subpoena liebknecht marcgravia ecbolic arcticward dickcissel pincpinc boldface maidkin adjective adcraft adman dwarfness applejack darkbrown kiln palzy always farmland flimflam unbossy nonlineal stepbrother lapdog stopgap sx countdown basketball beaujolais vb. flowchart aztec lazy bozo syrup tarzan annoying dyke yucky hawg gagzhukz cuzco squire when hiho mayhem nietzsche szasz gumdrop milk emplotment ambidextrously lacquer byway ecclesiastes stubchen hobgoblins crabmill aqua hawaii blvd. subquality byzantine empire debt obvious cervantes jekabzeel anecdote flicflac mechanicville bedbug couldn’t i’ve it’s they’ll they’d dpt. headquarter burkhardt xerxes atkins govt. ebenezer lg. lhama amtrak amway fixity axmen quumbabda upjohn hrumpf"
uc_text = "LYNX TUFT FROGS, DOLPHINS ABDUCT BY PROXY THE EVER AWKWARD KLUTZ, DUD, DUMMKOPF, JINX SNUBNOSE FILMGOER, ORPHAN SGT. RENFRUW GRUDGEK REYFUS, MD. SIKH PSYCH IF HALT TYMPANY JEWELRY SRI HEH! TWYER VS JOJO PNEU FYLFOT ALCAABA SON OF NONPLUSSED HALFBREED BUBBLY PLAYBOY GUGGENHEIM DADDY COCCYX SGRAFFITO EFFECT, VACUUM DIRNDLE IMPOSSIBLE ATTEMPT TO DISVALUE, MUZZLE THE AFGHAN CZECH CZAR AND EXNINJA, BOB BIXBY DVORAK WOOD DHURRIE SAVVY, DIZZY EYE AEON CIRCUMCISION UVULA SCRUNGY PICNIC LUXURIOUS SPECIAL TYPE CARBOHYDRATE OVOID ADZUKI KUMQUAT BOMB? AFTERGLOWS GOLD GIRL PYGMY GNOME LB. ANKHS ACME AGGROUPMENT AKMED BROUHHA TV WT. UJJAIN MS. OZ ABACUS MNEMONICS BHIKKU KHAKI BWANA AORTA EMBOLISM VIVID OWLS OFTEN KVETCH OTHERWISE, WYSIWYG DENSFORT WRIGHT YOU’VE ABSORBED RHYTHM, PUT OBSTACLE KYAKS KRIEG KERN WURST SUBJECT ENMITY EQUITY COQUET QUORUM PIQUE TZETSE HEPZIBAH SULFHYDRYL BRIEFCASE AJAX EHLER KAFKA FJORD ELFSHIP HALFDRESSED JUGFUL EGGCUP HUMMINGBIRDS SWINGDEVIL BAGPIPE LEGWORK REPROACHFUL HUNCHBACK ARCHKNAVE BAGHDAD WEJH RIJSWIJK RAJBANSI RAJPUT AJDIR OKAY WEEKDAY OBFUSCATE SUBPOENA LIEBKNECHT MARCGRAVIA ECBOLIC ARCTICWARD DICKCISSEL PINCPINC BOLDFACE MAIDKIN ADJECTIVE ADCRAFT ADMAN DWARFNESS APPLEJACK DARKBROWN KILN PALZY ALWAYS FARMLAND FLIMFLAM UNBOSSY NONLINEAL STEPBROTHER LAPDOG STOPGAP SX COUNTDOWN BASKETBALL BEAUJOLAIS VB. FLOWCHART AZTEC LAZY BOZO SYRUP TARZAN ANNOYING DYKE YUCKY HAWG GAGZHUKZ CUZCO SQUIRE WHEN HIHO MAYHEM NIETZSCHE SZASZ GUMDROP MILK EMPLOTMENT AMBIDEXTROUSLY LACQUER BYWAY ECCLESIASTES STUBCHEN HOBGOBLINS CRABMILL AQUA HAWAII BLVD. SUBQUALITY BYZANTINE EMPIRE DEBT OBVIOUS CERVANTES JEKABZEEL ANECDOTE FLICFLAC MECHANICVILLE BEDBUG COULDN’T I’VE IT’S THEY’LL THEY’D DPT. HEADQUARTER BURKHARDT XERXES ATKINS GOVT. EBENEZER LG. LHAMA AMTRAK AMWAY FIXITY AXMEN QUUMBABDA UPJOHN HRUMPF"
ul_text = "Aaron Abraham Adam Aeneas Agfa Ahoy Aileen Akbar Alanon Americanism Anglican Aorta April Fool’s Day Aqua Lung (Tm.) Arabic Ash Wednesday Authorized Version Ave Maria Away Axel Ay Aztec Bhutan Bill Bjorn Bk Btu. Bvart Bzonga California Cb Cd Cervantes Chicago Clute City, Tx. Cmdr. Cnossus Coco Cracker State, Georgia Cs Ct. Cwacker Cyrano David Debra Dharma Diane Djakarta Dm Dnepr Doris Dudley Dwayne Dylan Dzerzhinsk Eames Ectomorph Eden Eerie Effingham, Il. Egypt Eiffel Tower Eject Ekland Elmore Entreaty Eolian Epstein Equine Erasmus Eskimo Ethiopia Europe Eva Ewan Exodus Jan van Eyck Ezra Fabian February Fhara Fifi Fjord Florida Fm France Fs Ft. Fury Fyn Gabriel Gc Gdynia Gehrig Ghana Gilligan Karl Gjellerup Gk. Glen Gm Gnosis Gp.E. Gregory Gs Gt. Br. Guinevere Gwathmey Gypsy Gzags Hebrew Hf Hg Hileah Horace Hrdlicka Hsia Hts. Hubert Hwang Hai Hyacinth Hz. Iaccoca Ibsen Iceland Idaho If Iggy Ihre Ijit Ike Iliad Immediate Innocent Ione Ipswitch Iquarus Ireland Island It Iud Ivert Iwerks Ixnay Iy Jasper Jenks Jherry Jill Jm Jn Jorge Jr. Julie Kerry Kharma Kiki Klear Koko Kruse Kusack Kylie Laboe Lb. Leslie Lhihane Llama Lorrie Lt. Lucy Lyle Madeira Mechanic Mg. Minnie Morrie Mr. Ms. Mt. Music My Nanny Nellie Nillie Novocane Null Nyack Oak Oblique Occarina Odd Oedipus Off Ogmane Ohio Oil Oj Oklahoma Olio Omni Only Oops Opera Oqu Order Ostra Ottmar Out Ovum Ow Ox Oyster Oz Parade Pd. Pepe Pfister Pg. Phil Pippi Pj Please Pneumonia Porridge Price Psalm Pt. Purple Pv Pw Pyre Qt. Quincy Radio Rd. Red Rhea Right Rj Roche Rr Rs Rt. Rural Rwanda Ryder Sacrifice Series Sgraffito Shirt Sister Skeet Slow Smore Snoop Soon Special Squire Sr St. Suzy Svelte Swiss Sy Szach Td Teach There Title Total Trust Tsena Tulip Twice Tyler Tzean Ua Udder Ue Uf Ugh Uh Ui Uk Ul Um Unkempt Uo Up Uq Ursula Use Utmost Uvula Uw Uxurious Uzßai Valerie Velour Vh Vicky Volvo Vs Water Were Where With World Wt. Wulk Wyler Xavier Xerox Xi Xylophone Yaboe Year Yipes Yo Ypsilant Ys Yu Zabar’s Zero Zhane Zizi Zorro Zu Zy Don’t I’ll I’m I’se"
misc_text = """Raptor's Blackbird micro-ATX POWER9 System Is Ready To Take Flight This Week
Written by Michael Larabel in Hardware on 19 May 2019 at 08:00 AM EDT. 19 Comments
The Raptor Blackbird supports up to 8-core 160W Sforza POWER9 CPUs, two DDR4 ECC modules, one PCI Express 4.0 x16 slot (and one PCIe 4.0 x8), dual Gigabit Ethernet, 4 x SATA 3.0 ports, four USB 3.0 ports, and other standard connectivity.
As I mentioned in my talk at Scale 17x
NetBSD 8.1 RC1 Released With MDS Mitigations, Option To Turn Off SMT/HT, Driver Updates
RadeonSI Primitive Culling Lands In Mesa 19.2
Lenovo Hooks Up With Debian For DebConf 19
Xfce 4.14 Sees Its Long-Awaited Pre-Release
Linux 5.2-rc1 Kernel Released With Case-Insensitive EXT4, New Intel HW & RTW88 WiFi
Linux's vmalloc Seeing "Large Performance Benefits" With 5.2 Kernel Changes
SVT-AV1 0.5 Released As Intel's Speedy AV1 Video Encoder
DXVK 1.2.1 Released With Game Fixes, Some Performance Improvements
LibreOffice 6.3 Alpha Was Tagged This Week, Stable Expected In August
Raptor's Blackbird micro-ATX POWER9 System Is Ready To Take Flight This Week
A Look At The MDS Cost On Xeon, EPYC & Xeon Total Impact Of Affected CPU Vulnerabilities
The Many Changes & Additions To Find With The Linux 5.2 Kernel
The Performance Impact Of MDS / Zombieload Plus The Overall Cost Now Of Spectre/Meltdown/L1TF/MDS
GeForce GTX 650 vs. GTX 1650 Performance For Linux Gaming, Performance-Per-Watt
GCC 9 vs. Clang 8 C/C++ Compiler Performance On AMD Threadripper, Intel Core i9
In the development branch (leading up to 3.34 this autumn) supported in GTK 4 from a 3.30.x version.
Radeon ROCm 2.5 Released With rocThrust, AMD Infinity Fabric Link Support
Ubuntu Touch Nearing Updated Unity 8 + Mir, But Not Yet Full Wayland
AMD GCN Back-End In GCC Compiler Adds "-march=gfx906" Option For Vega 20
RPM 4.15 With Better Performance & New Features Will Make It Into Fedora 31
FreeBSD 11.3 Beta 3 Arrives With Various Fixes, Correct Battery Life Reporting
Git 2.22 Released With Improvements Around Merge Handling, Other Small Enhancements
WineD3D Optimistic In Their Yet To Be Proven Vulkan Backend, DXVK "Dead End"