[cantarell-fonts/respacing] Misc
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/respacing] Misc
- Date: Wed, 1 Jan 2020 21:02:48 +0000 (UTC)
commit 6efd594eac9e53d6e2ead7b3d52437c05bbc8f7b
Author: Nikolaus Waxweiler <madigens gmail com>
Date: Wed Jan 1 22:02:48 2020 +0100
Misc
meson.build | 2 +-
prebuilt/meson.build | 2 +-
proofs/pi.py | 2 +-
proofs/print-characters-between-placeholders.py | 10 ++++++++++
proofs/spacing.py | 4 ++--
src/meson.build | 2 +-
6 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index db4f7e2f..8d534493 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-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')
diff --git a/prebuilt/meson.build b/prebuilt/meson.build
index a110d321..78ed3134 100644
--- a/prebuilt/meson.build
+++ b/prebuilt/meson.build
@@ -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)
diff --git a/proofs/pi.py b/proofs/pi.py
index b0bfc511..ad993735 100644
--- a/proofs/pi.py
+++ b/proofs/pi.py
@@ -2,7 +2,7 @@ from pathlib import Path
pi_text = (Path(__file__).parent / "pi.txt").read_text()
-cantarell = installFont("/tmp/Cantarell-VF.ttf")
+cantarell = installFont("/tmp/Cantarell-VF.otf")
paper_format = "A4Landscape"
border = 25
diff --git a/proofs/print-characters-between-placeholders.py b/proofs/print-characters-between-placeholders.py
new file mode 100644
index 00000000..0d545f1a
--- /dev/null
+++ b/proofs/print-characters-between-placeholders.py
@@ -0,0 +1,10 @@
+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()
diff --git a/proofs/spacing.py b/proofs/spacing.py
index 298d7111..802ce0e8 100644
--- a/proofs/spacing.py
+++ b/proofs/spacing.py
@@ -12,7 +12,7 @@ NN0NNNN1NNNN2NNNN3NNNN4NNNN5NNNN6NNNN7NNNN8NNNN9NN
OO0OOOO1OOOO2OOOO3OOOO4OOOO5OOOO6OOOO7OOOO8OOOO9OO
-000000100200300400500600700800900
+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 bagpi
pe legwo
rk 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"
@@ -74,7 +74,7 @@ Purism Talks Up The Librem 5 Smartphone Boot Speed, Price Increase Coming
Mesa 19.1-RC5 Is Out With A Handful Of RADV & Intel/Iris Changes
ATI R300 Gallium3D Driver Seeing A Big Performance Fix After Being Regressed For Years"""
-cantarell = installFont("/tmp/Cantarell-VF.ttf")
+cantarell = installFont("/tmp/Cantarell-VF.otf")
format = "A4Landscape"
border = 25
diff --git a/src/meson.build b/src/meson.build
index 24ad3058..236aff85 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -16,7 +16,7 @@ custom_target(
custom_target(
'cantarell-variable-font',
input: 'Cantarell.designspace',
- output: 'Cantarell-VF.ttf',
+ output: 'Cantarell-VF.otf',
command: [
python3,
make_variable_font,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]