Additional Transform Scripts

Before asking a question on FontCreator look here for possible solutions and tutorials. Please do not post support requests here.
Post Reply
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7085
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Additional Transform Scripts

Post by Bhikkhu Pesala » Tue Apr 25, 2017 7:55 am

Here are a few transform scripts that I have created recently. Please feel free to reply with some of your own, explaining how you use them. Comments can be added to transform scripts to explain how to customise them.

Not in WOFF

This script selects a wide range of symbols and other glyphs that I do not include in my Web fonts. After running the script, tag the selected glyphs using one of the shortcuts Ctrl 1 - 5. The tagged glyphs can then easily be deleted before exporting the WOFF version of the font. Undo or close the font project without saving it after exporting the web version.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<DATA>
  <TransformScript>
    <OtherComments>
      <Content>Select Glyphs not to include in WOFF Export

Edit the list of glyph names. After running the script, tag the selected glyphs, and delete the tagged glyphs before exporting to WOFF to reduce the font size for embedding on web sites. </Content>
    </OtherComments>
    <GlyphOverrideRangeGN>
      <GlyphNames>uni1EFA uni1EFB uni1EFC uni1EFD uni1EFE uni1EFF horizontalbar uni2016 underscoredbl uni2023 onedotenleader twodotenleader uni202F perthousand uni2031 minute second uni2034 uni2035 uni2036 uni2037 uni2038 exclamdbl uni203E uni203F uni2040 uni2041 uni2042 uni2043 uni2045 uni2046 uni2047 uni2048 uni2049 uni204A uni204B uni204C uni204D uni204E uni204F uni2050 uni2051 uni2052 uni2053 uni2054 uni2055 uni2056 uni2057 uni2058 uni2059 uni205A uni205B uni205C uni205D uni205E i.sups plus.sups minus.sups equal.sups uni207F plus.sinf minus.sinf equal.sinf parenleft.sinf parenright.sinf uni20A0 colonmonetary uni20A2 uni20A5 uni20A6 peseta uni20A8 uni20A9 sheqel dong uni20AD uni20AE uni20AF germanpenny uni20B1 uni20B2 uni20B3 uni20B4 uni20B5 livreturnois uni20B7 uni20B8 indianrupee turkishlira uni20BB uni20BC rublesign uni20BE uni2102 uni2103 uni2104 uni2107 uni2108 uni2109 uni210D uni210E uni210F uni2114 uni2115 uni2119 uni211A uni211D prescription servicemark uni2121 uni2124 Omega uni2127 uni212A uni212B uni2132 uni2139 uni213A uni213B uni215F uni2160 uni2161 uni2162 uni2163 uni2164 uni2165 uni2166 uni2167 uni2168 uni2169 uni216A uni216B uni216C uni216D uni216E uni216F uni2170 uni2171 uni2172 uni2173 uni2174 uni2175 uni2176 uni2177 uni2178 uni2179 uni217A uni217B uni217C uni217D uni217E uni217F uni2180 uni2181 uni2182 uni2183 uni2184 uni2185 uni2186 uni2187 uni2188 uni218A uni218B arrowleft arrowup arrowright arrowdown arrowboth arrowupdn uni2196 uni2197 uni2198 uni2199 uni219A uni219B uni219C uni219D uni219E uni219F uni21A0 uni21A1 uni21A2 uni21A3 uni21A4 uni21A5 uni21A6 uni21A7 arrowupdnbse uni21A9 uni21AA uni21AB uni21AC uni21AD uni21AE uni21AF uni21B0 uni21B1 uni21B2 uni21B3 uni21B4 carriagereturn uni21B6 uni21B7 uni21B8 uni21B9 uni21BA uni21BB uni21BC uni21BD uni21BE uni21BF uni21C0 uni21C1 uni21C2 uni21C3 uni21C4 uni21C5 uni21C6 uni21C7 uni21C8 uni21C9 uni21CA uni21CB uni21CC uni21CD uni21CE uni21CF arrowdblleft arrowdblup arrowdblright arrowdbldown arrowdblboth uni21D5 uni21D6 uni21D7 uni21D8 uni21D9 uni21DA uni21DB uni21DC uni21DD uni21DE uni21DF uni21E0 uni21E1 uni21E2 uni21E3 uni21E4 uni21E5 uni21E6 uni21E7 uni21E8 uni21E9 uni21EA uni21EB uni21EC uni21ED uni21EE uni21EF uni21F0 uni21F1 uni21F2 uni21F3 uni21F4 uni21F5 uni21F6 uni21F7 uni21F8 uni21F9 uni21FA uni21FB uni21FC uni21FD uni21FE uni21FF universal uni2201 partialdiff existential uni2204 emptyset Delta gradient element notelement uni220A suchthat uni220C uni220D uni220E product uni2210 summation uni2213 uni2214 uni2215 uni2216 asteriskmath uni2218 uni2219 radical uni221B uni221C proportional orthogonal angle uni2221 uni2222 uni2223 uni2224 uni2225 uni2226 logicaland logicalor intersection union uni222C uni222D therefore uni2235 uni2236 uni2237 uni2238 uni2239 uni223A uni223B similar uni223D uni2241 uni2242 uni2243 uni2244 congruent uni2246 uni2247 approxequal uni2249 uni224A uni224B notequal propersubset propersuperset perpendicular house uni2306 uni231A uni231B uni2328 uni23CF uni23E9 uni23EA uni23EB uni23EC uni23ED uni23EE uni23EF uni23F0 uni23F1 uni23F2 uni23F3 one.nalt two.nalt three.nalt four.nalt five.nalt six.nalt seven.nalt eight.nalt nine.nalt ten.nalt A.nalt B.nalt C.nalt D.nalt E.nalt F.nalt G.nalt H.nalt I.nalt J.nalt K.nalt L.nalt M.nalt N.nalt O.nalt P.nalt Q.nalt R.nalt S.nalt T.nalt U.nalt V.nalt W.nalt X.nalt Y.nalt Z.nalt a.nalt b.nalt c.nalt d.nalt e.nalt f.nalt g.nalt h.nalt i.nalt j.nalt k.nalt l.nalt m.nalt n.nalt o.nalt p.nalt q.nalt r.nalt s.nalt t.nalt u.nalt v.nalt w.nalt x.nalt y.nalt z.nalt zero.nalt filledbox whitesquare uni25A2 uni25A3 uni25A4 uni25A5 uni25A6 uni25A7 uni25A8 uni25A9 blacksmallsquare whitesmallsquare filledrect uni25AD uni25AE uni25AF uni25B0 uni25B1 triagup uni25B3 uni25B4 uni25B5 uni25B6 uni25B7 uni25B8 uni25B9 triagrt uni25BB triagdn uni25BD uni25BE uni25BF uni25C0 uni25C1 uni25C2 uni25C3 triaglf uni25C5 uni25C6 uni25C7 uni25C8 uni25C9 lozenge uni25CC uni25CD uni25CE uni25D0 uni25D1 uni25D2 uni25D3 uni25D4 uni25D5 uni25D6 uni25D7 invbullet invcircle uni25DA uni25DB uni25DC uni25DD uni25DE uni25DF uni25E0 uni25E1 uni25E2 uni25E3 uni25E4 uni25E5 openbullet uni25E7 uni25E8 uni25E9 uni25EA uni25EB uni25EC uni25ED uni25EE uni25EF uni25F0 uni25F1 uni25F2 uni25F3 uni25F4 uni25F5 uni25F6 uni25F7 uni25F8 uni25F9 uni25FA uni25FB uni25FC uni25FD uni25FE uni25FF uni2600 uni2601 uni2602 uni2603 uni2604 uni2605 uni2606 uni2607 uni2608 uni2609 uni260A uni260B uni260C uni260D uni2613 uni2614 uni2615 uni2616 uni2617 uni2618 uni2619 uni261A uni261B uni261C uni261D uni261E uni261F uni2620 uni2621 uni2622 uni2623 uni2624 uni2625 uni2626 uni2627 uni2628 uni2629 uni262A uni262B uni262C uni262D uni262E uni262F uni2630 uni2631 uni2632 uni2633 uni2634 uni2635 uni2636 uni2637 uni2638 uni2639 smileface invsmileface sun uni263D uni263E uni263F female uni2641 male uni2643 uni2644 uni2645 uni2646 uni2647 uni2648 uni2649 uni264A uni264B uni264C uni264D uni264E uni264F uni2650 uni2651 uni2652 uni2653 spade uni2661 uni2662 club uni2664 heart diamond uni2667 uni2668 uni2669 musicalnote musicalnotedbl uni266C uni266D uni266E uni266F uni2670 uni2671 uni2672 uni2673 uni2674 uni2675 uni2676 uni2677 uni2678 uni2679 uni267A uni267B uni267C uni267D uni267E uni267F uni2680 uni2681 uni2682 uni2683 uni2684 uni2685 uni2686 uni2687 uni2688 uni2689 uni268A uni268B uni268C uni268D uni268E uni268F uni2690 uni2691 uni2692 uni2693 uni2694 uni2695 uni2696 uni2697 uni2698 uni2699 uni269A uni269B uni269C uni269D uni269E uni269F uni26A0 uni26A1 uni26A2 uni26A3 uni26A4 uni26A5 uni26A6 uni26A7 uni26A8 uni26A9 uni26AA uni26AB uni26AC uni26AD uni26AE uni26AF uni26B0 uni26B1 uni26B2 uni26B3 uni26B4 uni26B5 uni26B6 uni26B7 uni26B8 uni26B9 uni26BA uni26BB uni26BC uni26BD uni26BE uni26BF uni26C0 uni26C1 uni26C2 uni26C3 uni26C4 uni26C5 uni26C6 uni26C7 uni26C8 uni26C9 uni26CA uni26CB uni26CC uni26CD uni26CE uni26CF uni26D0 uni26D1 uni26D2 uni26D3 uni26D4 uni26D5 uni26D6 uni26D7 uni26D8 uni26D9 uni26DA uni26DB uni26DC uni26DD uni26DE uni26DF uni26E0 uni26E1 uni26E2 uni26E3 uni26E4 uni26E5 uni26E6 uni26E7 uni26E8 uni26E9 uni26EA uni26EB uni26EC uni26ED uni26EE uni26EF uni26F0 uni26F1 uni26F2 uni26F3 uni26F4 uni26F5 uni26F6 uni26F7 uni26F8 uni26F9 uni26FA uni26FB uni26FC uni26FD uni26FE uni26FF uni2700 uni2701 uni2702 uni2703 uni2704 uni2705 uni2706 uni2707 uni2708 uni2709 uni270A uni270B uni270C uni270D uni270E uni270F uni2710 uni2711 uni2712 uni2713 uni2714 uni2715 uni2716 uni2717 uni2718 uni2719 uni271A uni271B uni271C uni271D uni271E uni271F uni2720 uni2721 uni2722 uni2723 uni2724 uni2725 uni2726 uni2727 uni2728 uni2729 uni272A uni272B uni272C uni272D uni272E uni272F uni2730 uni2731 uni2732 uni2733 uni2734 uni2735 uni2736 uni2737 uni2738 uni2739 uni273A uni273B uni273C uni273D uni273E uni273F uni2740 uni2741 uni2742 uni2743 uni2744 uni2745 uni2746 uni2747 uni2748 uni2749 uni274A uni274B uni274C uni274D uni274E uni274F uni2750 uni2751 uni2752 uni2753 uni2754 uni2755 uni2756 uni2757 uni2758 uni2759 uni275A uni275B uni275C uni275D uni275E uni275F uni2760 uni2761 uni2762 uni2763 uni2764 uni2765 uni2766 uni2767 uni2768 uni2769 uni276A uni276B uni276C uni276D uni276E uni276F uni2770 uni2771 uni2772 uni2773 uni2774 uni2775 uni2776 uni2777 uni2778 uni2779 uni277A uni277B uni277C uni277D uni277E uni277F uni2780 uni2781 uni2782 uni2783 uni2784 uni2785 uni2786 uni2787 uni2788 uni2789 uni278A uni278B uni278C uni278D uni278E uni278F uni2790 uni2791 uni2792 uni2793 uni2794 uni2795 uni2796 uni2797 uni2798 uni2799 uni279A uni279B uni279C uni279D uni279E uni279F uni27A0 uni27A1 uni27A2 uni27A3 uni27A4 uni27A5 uni27A6 uni27A7 uni27A8 uni27A9 uni27AA uni27AB uni27AC uni27AD uni27AE uni27AF uni27B0 uni27B1 uni27B2 uni27B3 uni27B4 uni27B5 uni27B6 uni27B7 uni27B8 uni27B9 uni27BA uni27BB uni27BC uni27BD uni27BE uni27BF dotbelow.pcap commabelow.pcap exclam.pcap dollar.pcap percent.pcap ampersand.pcap parenleft.pcap parenright.pcap question.pcap bracketleft.pcap bracketright.pcap a.pcap b.pcap c.pcap d.pcap e.pcap f.pcap g.pcap h.pcap i.pcap j.pcap k.pcap l.pcap m.pcap n.pcap o.pcap p.pcap q.pcap r.pcap s.pcap t.pcap u.pcap v.pcap w.pcap x.pcap y.pcap z.pcap braceleft.pcap braceright.pcap exclamdown.pcap sterling.pcap yen.pcap onequarter.afrc onehalf.afrc threequarters.afrc questiondown.pcap germandbls.pcap agrave.pcap aacute.pcap acircumflex.pcap atilde.pcap adieresis.pcap aring.pcap ae.pcap ccedilla.pcap egrave.pcap eacute.pcap ecircumflex.pcap edieresis.pcap igrave.pcap iacute.pcap icircumflex.pcap idieresis.pcap eth.pcap ntilde.pcap ograve.pcap oacute.pcap ocircumflex.pcap otilde.pcap odieresis.pcap oslash.pcap ugrave.pcap uacute.pcap ucircumflex.pcap udieresis.pcap yacute.pcap thorn.pcap ydieresis.pcap amacron.pcap abreve.pcap aogonek.pcap cacute.pcap ccircumflex.pcap cdotaccent.pcap ccaron.pcap dcaron.pcap dcroat.pcap emacron.pcap ebreve.pcap edotaccent.pcap eogonek.pcap ecaron.pcap gcircumflex.pcap gbreve.pcap gdotaccent.pcap gcommaaccent.pcap hcircumflex.pcap hbar.pcap itilde.pcap imacron.pcap ibreve.pcap iogonek.pcap idotaccent.pcap ij.pcap jcircumflex.pcap kcommaaccent.pcap lacute.pcap lcommaaccent.pcap lcaron.pcap lmiddledot.pcap lslash.pcap nacute.pcap ncommaaccent.pcap ncaron.pcap eng.pcap omacron.pcap obreve.pcap ohungarumlaut.pcap oe.pcap racute.pcap rcommaaccent.pcap rcaron.pcap sacute.pcap scircumflex.pcap scedilla.pcap scaron.pcap tcedilla.pcap tcaron.pcap tbar.pcap utilde.pcap umacron.pcap ubreve.pcap uring.pcap uhungarumlaut.pcap uogonek.pcap wcircumflex.pcap ycircumflex.pcap zacute.pcap zdotaccent.pcap zcaron.pcap gacute.pcap aringacute.pcap aeacute.pcap oslashacute.pcap scommaaccent.pcap tcommaaccent.pcap iotadieresistonos.pcap alphatonos.pcap epsilontonos.pcap etatonos.pcap iotatonos.pcap upsilondieresistonos.pcap alpha.pcap beta.pcap gamma.pcap delta.pcap epsilon.pcap zeta.pcap eta.pcap theta.pcap iota.pcap kappa.pcap lambda.pcap mu.pcap nu.pcap xi.pcap omicron.pcap pi.pcap rho.pcap sigma.pcap tau.pcap upsilon.pcap phi.pcap chi.pcap psi.pcap omega.pcap iotadieresis.pcap upsilondieresis.pcap omicrontonos.pcap upsilontonos.pcap omegatonos.pcap ddotbelow.pcap hdotbelow.pcap ldotbelow.pcap ldotbelowmacron.pcap mdotaccent.pcap mdotbelow.pcap ndotaccent.pcap ndotbelow.pcap rdotbelow.pcap rdotbelowmacron.pcap sdotbelow.pcap tdotbelow.pcap wgrave.pcap wacute.pcap wdieresis.pcap Germandbls.pcap ygrave.pcap ytilde.pcap onethird.afrc twothirds.afrc onefifth.afrc twofifths.afrc threefifths.afrc fourfifths.afrc onesixth.afrc fivesixths.afrc oneeighth.afrc threeeighths.afrc fiveeighths.afrc seveneighths.afrc onesixteenth.afrc threesixteenths.afrc fivesixteenths.afrc sevensixteenths.afrc ninesixteenths.afrc elevensixteenths.afrc thirteensixteenths.afrc fifteensixteenths.afrc onethirtysecond.afrc threethirtyseconds.afrc fivethirtyseconds.afrc seventhirtyseconds.afrc ninethirtyseconds.afrc eleventhirtyseconds.afrc thirteenthirtyseconds.afrc fifteenthirtyseconds.afrc seventeenthirtyseconds.afrc nineteenthirtyseconds.afrc twentyonethirtyseconds.afrc twentythreethirtyseconds.afrc twentyfivethirtyseconds.afrc twentyseventhirtyseconds.afrc twentyninethirtyseconds.afrc thirtyonethirtyseconds.afrc onesixtyfourth.afrc threesixtyfourths.afrc fivesixtyfourths.afrc sevensixtyfourths.afrc ninesixtyfourths.afrc elevensixtyfourths.afrc thirteensixtyfourths.afrc fifteensixtyfourths.afrc seventeensixtyfourths.afrc nineteensixtyfourths.afrc twentyonesixtyfourths.afrc twentythreesixtyfourths.afrc twentyfivesixtyfourths.afrc twentysevensixtyfourths.afrc twentyninesixtyfourths.afrc thirtyonesixtyfourths.afrc thirtythreesixtyfourths.afrc thirtyfivesixtyfourths.afrc thirtysevensixtyfourths.afrc thirtyninesixtyfourths.afrc fortyonesixtyfourths.afrc fortythreesixtyfourths.afrc fortyfivesixtyfourths.afrc fortysevensixtyfourths.afrc fortyninesixtyfourths.afrc fiftyonesixtyfourths.afrc fiftythreesixtyfourths.afrc fiftyfivesixtyfourths.afrc fiftysevensixtyfourths.afrc fiftyninesixtyfourths.afrc sixtyonesixtyfourths.afrc sixtythreesixtyfourths.afrc uniECB8 uniECB9 uniECBA uniECBB uniECBC uniECBD uniECBE uniECBF uniECC0 uniECC1 uniECC3 uniECC5 uniECC7 uniECC8 uniECC9 uniECCB uniECCD uniECCF uniECD1 uniECD3 uniECD5 uniECD7 uniECD8 uniECD9 uniECDB uniECDD uniECDF uniECE1 uniECE3 uniECE5 uniECE7 uniECE9 uniECEB uniECED uniECEF uniECF1 uniECF3 uniECF5 uniECF7 uniECF8 fj fr ft fy fft ffy fty tr tt tty ty tz ttr FF FI FL HE LA MB MD ME MP MR NK NT OC OG OO TT TW TY UB UD UL UP UR cky ky ffr tw fb ffb fh ffh fk ffk ffj uniF000 sunrise newmoon waxingcrescentmoon firstquartermoon waxinggibbousmoon fullmoon waninggibbousmoon lastquartermoon waningcrescentmoon </GlyphNames>
    </GlyphOverrideRangeGN>
  </TransformScript>
</DATA>
Narrow Glyphs

This script selects narrow composite glyphs, which may need special treatment. After running the script, tag the glyphs for editing.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<DATA>
  <TransformScript>
    <OtherComments>
      <Content>Select Narrow Glyphs that may need Lowprofile Diacritics

Edit the list of glyph names. After running the script, tag the selected glyphs, and edit  the tagged group to check if the accents are too wide for these glyphs.</Content>
    </OtherComments>
    <GlyphOverrideRangeGN>
      <GlyphNames> igrave iacute icircumflex idieresis Itilde itilde Imacron imacron Ibreve ibreve jcircumflex lacute Icaron icaron jcaron uni0208 uni0209 uni020A uni020B uni1E2D uni1E2C uni1E2F ldotbelowmacron uni1E3B uni1E3D uni1E5F uni1E6F uni1E71  uni1E31 hcircumflex kcaron uni021F uni1E97 uni1EC9</GlyphNames>
    </GlyphOverrideRangeGN>
  </TransformScript>
</DATA>
Horizontal Arrows

This script selects the horizontal arrows and positions them vertically. Adjust the vertical position to suit the font.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<DATA>
  <TransformScript>
    <OtherComments>
      <Content>Align Horizontal Arrows
This script selects all horizontal arrows and aligns them vertically to y = 450
The middle of xHeight is a suitable target.</Content>
    </OtherComments>
    <GlyphOverrideRangeGN>
      <GlyphNames>arrowleft arrowright arrowboth uni219A uni219B uni219C uni219D uni219E uni21A0 uni21A2 uni21A3 uni21A4 uni21A6 uni21A9 uni21AA uni21AB uni21AC uni21AD uni21AE uni21BC uni21BD uni21C0 uni21C1 uni21C4 uni21C6 uni21C7 uni21C9 uni21CB uni21CC uni21CD uni21CE uni21CF arrowdblleft arrowdblright arrowdblboth uni21DA uni21DB uni21DC uni21DD uni21E0 uni21E2 uni21E4 uni21E5 uni21E6 uni21E8 uni21F0 uni21F4 uni21F7 uni21F8 uni21F9 uni21FA uni21FB uni21FC uni21FD uni21FE uni21FF</GlyphNames>
    </GlyphOverrideRangeGN>
    <OutlinePosition>
      <Coverage>2</Coverage>
      <Horizontal>0</Horizontal>
      <Vertical>450</Vertical>
      <AroundCorner>4</AroundCorner>
    </OutlinePosition>
  </TransformScript>
</DATA>
My FontsReviews: MainTypeFont CreatorHelpFC11.0 Pro + MT7.0 @ Win10 1703

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest