From e3deebaa1d01b3bdda5576cbc0ac062216d866e8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 21 Oct 2017 12:22:50 -0400 Subject: [PATCH] And sorted out the weights. Now to determine what is and isn't sane. --- doc/export/ctweightsraw | 150 ++++++++++++++++++++++++++++++++++++++ doc/export/weightlist1.sh | 8 ++ doc/export/weightlist2.sh | 10 +++ 3 files changed, 168 insertions(+) create mode 100644 doc/export/ctweightsraw create mode 100644 doc/export/weightlist1.sh create mode 100644 doc/export/weightlist2.sh diff --git a/doc/export/ctweightsraw b/doc/export/ctweightsraw new file mode 100644 index 00000000..d34cf0e0 --- /dev/null +++ b/doc/export/ctweightsraw @@ -0,0 +1,150 @@ +0.000000 0x0 "reg" +0.300000 0x3e99999a "semi" +0.400000 0x3ecccccd "bold" +-0.400000 0xbecccccd "light" +0.230000 0x3e6b851f "med" +0.560000 0x3f0f5c29 "heavy" +0.620000 0x3f1eb852 "black" +-0.600000 0xbf19999a "thin" +-0.800000 0xbf4ccccd "ulight" +0.000000 0x0 "LucidaGrande" +0.000000 0x0 ".LucidaGrandeUI" +0.000000 0x0 ".Keyboard" +0.240000 0x3e75c28f "STHeiti" +-0.100000 0xbdcccccd "STXihei" +0.000000 0x0 "TimesNewRomanPSMT" +-0.800000 0xbf4ccccd "Ultra Light" +0.750000 0x3f400000 "Ultra Black" +-0.500000 0xbf000000 "Extra Light" +0.750000 0x3f400000 "UltraBlack" +0.800000 0x3f4ccccd "ExtraBlack" +-0.800000 0xbf4ccccd "UltraLight" +-0.500000 0xbf000000 "ExtraLight" +-0.800000 0xbf4ccccd "Ultra Thin" +-0.800000 0xbf4ccccd "Extra Thin" +0.560000 0x3f0f5c29 "Heavy Face" +-0.200000 0xbe4ccccd "Semi Light" +0.500000 0x3f000000 "Extra Bold" +0.700000 0x3f333333 "Ultra Bold" +0.560000 0x3f0f5c29 "HeavyFace" +0.500000 0x3f000000 "ExtraBold" +0.700000 0x3f333333 "UltraBold" +0.800000 0x3f4ccccd "Ext Black" +-0.200000 0xbe4ccccd "SemiLight" +0.250000 0x3e800000 "Demi Bold" +0.300000 0x3e99999a "Semi Bold" +-0.500000 0xbf000000 "Ext Light" +0.500000 0x3f000000 "Ext Bold" +0.250000 0x3e800000 "DemiBold" +0.300000 0x3e99999a "SemiBold" +-0.800000 0xbf4ccccd "HairLine" +-0.800000 0xbf4ccccd "Ext Thin" +0.230000 0x3e6b851f "Medium" +0.800000 0x3f4ccccd "Poster" +-0.400000 0xbecccccd "Light" +0.500000 0x3f000000 "Ultra" +0.560000 0x3f0f5c29 "Heavy" +0.500000 0x3f000000 "Extra" +0.620000 0x3f1eb852 "Black" +0.620000 0x3f1eb852 "Super" +0.850000 0x3f59999a "Obese" +-0.400000 0xbecccccd "Lite" +-0.230000 0xbe6b851f "Book" +0.250000 0x3e800000 "Demi" +0.300000 0x3e99999a "Semi" +-0.500000 0xbf000000 "Thin" +0.400000 0x3ecccccd "Bold" +0.800000 0x3f4ccccd "Nord" +0.750000 0x3f400000 "Fat" +-0.230000 0xbe6b851f "W1" +-0.500000 0xbf000000 "W2" +-0.230000 0xbe6b851f "W3" +0.000000 0x0 "W4" +0.230000 0x3e6b851f "W5" +0.300000 0x3e99999a "W6" +0.440000 0x3ee147ae "W7" +0.540000 0x3f0a3d71 "W8" +0.620000 0x3f1eb852 "W9" +-0.800000 0xbf4ccccd 1, 10 - 100 +-0.500000 0xbf000000 2, 101 - 200 +-0.400000 0xbecccccd 3, 201 - 300 +0.000000 0x0 4, 301 - 400 +0.230000 0x3e6b851 5, 401 - 500 +0.250000 0x3e800000 6, 501 - 600 +0.400000 0x3ecccccd 7, 601 - 700 +0.500000 0x3f000000 8, 701 - 800 +0.620000 0x3f1eb852 9, 801 - 900 +0.750000 0x3f400000 901 - 950 +0.800000 0x3f4ccccd 951 - 999 +-0.500000 0xbf000000 2 +-0.400000 0xbecccccd 3 +of true 4 +-0.230000 0xbe6b851f 5 +0.230000 0x3e6b851f 6 +0.250000 0x3e800000 7 +0.400000 0x3ecccccd 8 +0.560000 0x3f0f5c29 9 +0.620000 0x3f1eb852 10 +0.800000 0x3f4ccccd 11 +0.400000 0x3ecccccd 1 +-0.200000 0xbe4ccccd "EL" +0.500000 0x3f000000 "EB" +0.300000 0x3e99999a "SB" +0.800000 0x3f4ccccd "UH" +0.700000 0x3f333333 "U" +-0.400000 0xbecccccd "L" +0.560000 0x3f0f5c29 "H" +0.400000 0x3ecccccd "B" +0.230000 0x3e6b851f "M" +0.000000 0x0 "R" +0.000000 0x0 default +0.000000 0x0 "LucidaGrande" +0.000000 0x0 ".LucidaGrandeUI" +0.240000 0x3fceb851eb851eb8 "STHeiti" +-0.100000 0xbfb999999999999a "STXihei" +0.000000 0x0 "TimesNewRomanPSMT" +-0.800000 0xbf4ccccd "ultra light" +0.750000 0x3f400000 "ultra black" +-0.500000 0xbf000000 "extra light" +-0.800000 0xbf4ccccd "ultralight" +0.750000 0x3f400000 "ultrablack" +0.800000 0x3f4ccccd "extrablack" +-0.500000 0xbf000000 "extralight" +0.560000 0x3f0f5c29 "heavy face" +-0.200000 0xbe4ccccd "semi light" +0.500000 0x3f000000 "extra bold" +0.700000 0x3f333333 "ultra bold" +0.560000 0x3f0f5c29 "heavyface" +0.500000 0x3f000000 "extrabold" +0.700000 0x3f333333 "ultrabold" +-0.200000 0xbe4ccccd "semilight" +0.250000 0x3e800000 "demi bold" +0.300000 0x3e99999a "semi bold" +0.250000 0x3e800000 "demibold" +0.300000 0x3e99999a "semibold" +-0.700000 0xbf333333 "hairline" +0.230000 0x3e6b851f "medium" +0.800000 0x3f4ccccd "poster" +-0.400000 0xbecccccd "light" +0.560000 0x3f0f5c29 "heavy" +0.500000 0x3f000000 "extra" +0.620000 0x3f1eb852 "black" +0.620000 0x3f1eb852 "super" +0.850000 0x3f59999a "obese" +-0.400000 0xbecccccd "lite" +-0.230000 0xbe6b851f "book" +0.250000 0x3e800000 "demi" +0.300000 0x3e99999a "semi" +-0.500000 0xbf000000 "thin" +0.400000 0x3ecccccd "bold" +0.800000 0x3f4ccccd "nord" +0.750000 0x3f400000 "fat" +-0.700000 0xbf333333 "w1" +-0.500000 0xbf000000 "w2" +-0.230000 0xbe6b851f "w3" +0.000000 0x0 "w4" +0.230000 0x3e6b851f "w5" +0.300000 0x3e99999a "w6" +0.440000 0x3ee147ae "w7" +0.540000 0x3f0a3d71 "w8" +0.620000 0x3f1eb852 "w9" diff --git a/doc/export/weightlist1.sh b/doc/export/weightlist1.sh new file mode 100644 index 00000000..0a1267ea --- /dev/null +++ b/doc/export/weightlist1.sh @@ -0,0 +1,8 @@ +# 21 october 2017 +gawk ' +BEGIN { FS = "\t+" } +!/float..as/ { next } +{ i = 0; if ($1 == "") i++ } +(NF-i) != 2 { next } +{ print } +' "$@" diff --git a/doc/export/weightlist2.sh b/doc/export/weightlist2.sh new file mode 100644 index 00000000..df2c546d --- /dev/null +++ b/doc/export/weightlist2.sh @@ -0,0 +1,10 @@ +# 21 october 2017 +gawk ' +{ + gsub(/float..as\(/, "") + gsub(/,/, "", $(NF - 1)) + gsub(/\)$/, "") + split($0, parts, /:/) + print $(NF - 1) "\t" $NF "\t" parts[1] +} +' "$@"