diff --git a/Figgle.Fonts/Aliases.csv b/Figgle.Fonts/Aliases.csv
new file mode 100644
index 0000000..2182364
--- /dev/null
+++ b/Figgle.Fonts/Aliases.csv
@@ -0,0 +1,86 @@
+1row,OneRow
+3-d,ThreeD
+3d_diagonal,ThreeDDiagonal
+3x5,ThreeByFive
+4max,FourMax
+5lineoblique,FiveLineOblique
+amc3line,Amc3Line
+amc3liv1,Amc3Liv1
+amcaaa01,AmcAaa01
+amcneko,AmcNeko
+amcrazo2,AmcRazor2
+amcrazor,AmcRazor
+amcslash,AmcSlash
+amcslder,AmcSlder
+amcthin,AmcThin
+amctubes,AmcTubes
+amcun1,AmcUn1
+barbwire,BarbWire
+bigchief,BigChief
+bigfig,BigFig
+broadway_kb,BroadwayKB
+calgphy2,Caligraphy2
+catwalk,CatWalk
+cyberlarge,CyberLarge
+cybermedium,CyberMedium
+cybersmall,CyberSmall
+dancingfont,DancingFont
+defleppard,DefLeppard
+dietcola,DietCola
+dosrebel,DosRebel
+dotmatrix,DotMatrix
+doubleshorts,DoubleShorts
+drpepper,DRPepper
+dwhistled,DWhistled
+eftichess,EftiChess
+eftifont,EftiFont
+eftipiti,EftiPiti
+eftirobot,EftiRobot
+eftitalic,EftiItalic
+eftiwall,EftiWall
+eftiwater,EftiWater
+flowerpower,FlowerPower
+fourtops,FourTops
+funface,FunFace
+funfaces,FunFaces
+georgi16,Georgia16
+Georgia11,Georgia11
+henry3d,Henry3d
+horizontalleft,HorizontalLeft
+horizontalright,HorizontalRight
+kontoslant,KontoSlant
+larry3d,Larry3d
+lildevil,LilDevil
+lineblocks,LineBlocks
+lockergnome,LockerGnome
+maxfour,MaxFour
+mshebrew210,Mshebrew210
+nancyj,NancyJ
+nancyj-fancy,NancyJFancy
+nancyj-improved,NancyJImproved
+nancyj-underlined,NancyJUnderlined
+nscript,NScript
+ntgreek,NTGreek
+nvscript,NVScript
+oldbanner,OldBanner
+os2,OS2
+peaksslant,PeaksSlant
+rowancap,RowanCap
+santaclara,SantaClara
+sblood,SBlood
+slscript,ScriptSlant
+serifcap,SerifCap
+smallcaps,SmallCaps
+smisome1,IsometricSmall
+smkeyboard,KeyboardSmall
+smpoison,PoisonSmall
+smscript,ScriptSmall
+smshadow,ShadowSmall
+smslant,SlantSmall
+smtengwar,TengwarSmall
+threepoint,ThreePoint
+ticksslant,TicksSlant
+tinker-toy,TinkerToy
+twopoint,TwoPoint
+usaflag,UsaFlag
+wetletter,WetLetter
diff --git a/Figgle.Fonts/Figgle.Fonts.csproj b/Figgle.Fonts/Figgle.Fonts.csproj
index f8e5bd9..e9b7811 100644
--- a/Figgle.Fonts/Figgle.Fonts.csproj
+++ b/Figgle.Fonts/Figgle.Fonts.csproj
@@ -33,6 +33,20 @@
+
+
+
+
+ TextTemplatingFileGenerator
+ FiggleFonts.Generated.cs
+
+
+ True
+ True
+ FiggleFonts.Generated.tt
+
+
+
diff --git a/Figgle.Fonts/FiggleFonts.Generated.cs b/Figgle.Fonts/FiggleFonts.Generated.cs
new file mode 100644
index 0000000..9726656
--- /dev/null
+++ b/Figgle.Fonts/FiggleFonts.Generated.cs
@@ -0,0 +1,539 @@
+// Auto-generated code - Do not modify manually
+// Generated from FiggleFonts.Generated.tt
+
+namespace Figgle.Fonts;
+
+public static partial class FiggleFonts
+{
+ /// Obtains the for the font named 1row.
+ public static FiggleFont OneRow => GetByName("1row");
+ /// Obtains the for the font named 3-d.
+ public static FiggleFont ThreeD => GetByName("3-d");
+ /// Obtains the for the font named 3d_diagonal.
+ public static FiggleFont ThreeDDiagonal => GetByName("3d_diagonal");
+ /// Obtains the for the font named 3x5.
+ public static FiggleFont ThreeByFive => GetByName("3x5");
+ /// Obtains the for the font named 4max.
+ public static FiggleFont FourMax => GetByName("4max");
+ /// Obtains the for the font named 5lineoblique.
+ public static FiggleFont FiveLineOblique => GetByName("5lineoblique");
+ /// Obtains the for the font named acrobatic.
+ public static FiggleFont Acrobatic => GetByName("acrobatic");
+ /// Obtains the for the font named alligator.
+ public static FiggleFont Alligator => GetByName("alligator");
+ /// Obtains the for the font named alligator2.
+ public static FiggleFont Alligator2 => GetByName("alligator2");
+ /// Obtains the for the font named alligator3.
+ public static FiggleFont Alligator3 => GetByName("alligator3");
+ /// Obtains the for the font named alpha.
+ public static FiggleFont Alpha => GetByName("alpha");
+ /// Obtains the for the font named alphabet.
+ public static FiggleFont Alphabet => GetByName("alphabet");
+ /// Obtains the for the font named amc3line.
+ public static FiggleFont Amc3Line => GetByName("amc3line");
+ /// Obtains the for the font named amc3liv1.
+ public static FiggleFont Amc3Liv1 => GetByName("amc3liv1");
+ /// Obtains the for the font named amcaaa01.
+ public static FiggleFont AmcAaa01 => GetByName("amcaaa01");
+ /// Obtains the for the font named amcneko.
+ public static FiggleFont AmcNeko => GetByName("amcneko");
+ /// Obtains the for the font named amcrazo2.
+ public static FiggleFont AmcRazor2 => GetByName("amcrazo2");
+ /// Obtains the for the font named amcrazor.
+ public static FiggleFont AmcRazor => GetByName("amcrazor");
+ /// Obtains the for the font named amcslash.
+ public static FiggleFont AmcSlash => GetByName("amcslash");
+ /// Obtains the for the font named amcslder.
+ public static FiggleFont AmcSlder => GetByName("amcslder");
+ /// Obtains the for the font named amcthin.
+ public static FiggleFont AmcThin => GetByName("amcthin");
+ /// Obtains the for the font named amctubes.
+ public static FiggleFont AmcTubes => GetByName("amctubes");
+ /// Obtains the for the font named amcun1.
+ public static FiggleFont AmcUn1 => GetByName("amcun1");
+ /// Obtains the for the font named arrows.
+ public static FiggleFont Arrows => GetByName("arrows");
+ /// Obtains the for the font named ascii_new_roman.
+ public static FiggleFont AsciiNewRoman => GetByName("ascii_new_roman");
+ /// Obtains the for the font named avatar.
+ public static FiggleFont Avatar => GetByName("avatar");
+ /// Obtains the for the font named B1FF.
+ public static FiggleFont B1FF => GetByName("B1FF");
+ /// Obtains the for the font named banner.
+ public static FiggleFont Banner => GetByName("banner");
+ /// Obtains the for the font named banner3.
+ public static FiggleFont Banner3 => GetByName("banner3");
+ /// Obtains the for the font named banner3-D.
+ public static FiggleFont Banner3D => GetByName("banner3-D");
+ /// Obtains the for the font named banner4.
+ public static FiggleFont Banner4 => GetByName("banner4");
+ /// Obtains the for the font named barbwire.
+ public static FiggleFont BarbWire => GetByName("barbwire");
+ /// Obtains the for the font named basic.
+ public static FiggleFont Basic => GetByName("basic");
+ /// Obtains the for the font named bear.
+ public static FiggleFont Bear => GetByName("bear");
+ /// Obtains the for the font named bell.
+ public static FiggleFont Bell => GetByName("bell");
+ /// Obtains the for the font named benjamin.
+ public static FiggleFont Benjamin => GetByName("benjamin");
+ /// Obtains the for the font named big.
+ public static FiggleFont Big => GetByName("big");
+ /// Obtains the for the font named bigchief.
+ public static FiggleFont BigChief => GetByName("bigchief");
+ /// Obtains the for the font named bigfig.
+ public static FiggleFont BigFig => GetByName("bigfig");
+ /// Obtains the for the font named binary.
+ public static FiggleFont Binary => GetByName("binary");
+ /// Obtains the for the font named block.
+ public static FiggleFont Block => GetByName("block");
+ /// Obtains the for the font named blocks.
+ public static FiggleFont Blocks => GetByName("blocks");
+ /// Obtains the for the font named bolger.
+ public static FiggleFont Bolger => GetByName("bolger");
+ /// Obtains the for the font named braced.
+ public static FiggleFont Braced => GetByName("braced");
+ /// Obtains the for the font named bright.
+ public static FiggleFont Bright => GetByName("bright");
+ /// Obtains the for the font named broadway.
+ public static FiggleFont Broadway => GetByName("broadway");
+ /// Obtains the for the font named broadway_kb.
+ public static FiggleFont BroadwayKB => GetByName("broadway_kb");
+ /// Obtains the for the font named bubble.
+ public static FiggleFont Bubble => GetByName("bubble");
+ /// Obtains the for the font named bulbhead.
+ public static FiggleFont Bulbhead => GetByName("bulbhead");
+ /// Obtains the for the font named calgphy2.
+ public static FiggleFont Caligraphy2 => GetByName("calgphy2");
+ /// Obtains the for the font named caligraphy.
+ public static FiggleFont Caligraphy => GetByName("caligraphy");
+ /// Obtains the for the font named cards.
+ public static FiggleFont Cards => GetByName("cards");
+ /// Obtains the for the font named catwalk.
+ public static FiggleFont CatWalk => GetByName("catwalk");
+ /// Obtains the for the font named chiseled.
+ public static FiggleFont Chiseled => GetByName("chiseled");
+ /// Obtains the for the font named chunky.
+ public static FiggleFont Chunky => GetByName("chunky");
+ /// Obtains the for the font named coinstak.
+ public static FiggleFont Coinstak => GetByName("coinstak");
+ /// Obtains the for the font named cola.
+ public static FiggleFont Cola => GetByName("cola");
+ /// Obtains the for the font named colossal.
+ public static FiggleFont Colossal => GetByName("colossal");
+ /// Obtains the for the font named computer.
+ public static FiggleFont Computer => GetByName("computer");
+ /// Obtains the for the font named contessa.
+ public static FiggleFont Contessa => GetByName("contessa");
+ /// Obtains the for the font named contrast.
+ public static FiggleFont Contrast => GetByName("contrast");
+ /// Obtains the for the font named cosmic.
+ public static FiggleFont Cosmic => GetByName("cosmic");
+ /// Obtains the for the font named cosmike.
+ public static FiggleFont Cosmike => GetByName("cosmike");
+ /// Obtains the for the font named crawford.
+ public static FiggleFont Crawford => GetByName("crawford");
+ /// Obtains the for the font named crazy.
+ public static FiggleFont Crazy => GetByName("crazy");
+ /// Obtains the for the font named cricket.
+ public static FiggleFont Cricket => GetByName("cricket");
+ /// Obtains the for the font named cursive.
+ public static FiggleFont Cursive => GetByName("cursive");
+ /// Obtains the for the font named cyberlarge.
+ public static FiggleFont CyberLarge => GetByName("cyberlarge");
+ /// Obtains the for the font named cybermedium.
+ public static FiggleFont CyberMedium => GetByName("cybermedium");
+ /// Obtains the for the font named cybersmall.
+ public static FiggleFont CyberSmall => GetByName("cybersmall");
+ /// Obtains the for the font named cygnet.
+ public static FiggleFont Cygnet => GetByName("cygnet");
+ /// Obtains the for the font named DANC4.
+ public static FiggleFont DANC4 => GetByName("DANC4");
+ /// Obtains the for the font named dancingfont.
+ public static FiggleFont DancingFont => GetByName("dancingfont");
+ /// Obtains the for the font named decimal.
+ public static FiggleFont Decimal => GetByName("decimal");
+ /// Obtains the for the font named defleppard.
+ public static FiggleFont DefLeppard => GetByName("defleppard");
+ /// Obtains the for the font named diamond.
+ public static FiggleFont Diamond => GetByName("diamond");
+ /// Obtains the for the font named dietcola.
+ public static FiggleFont DietCola => GetByName("dietcola");
+ /// Obtains the for the font named digital.
+ public static FiggleFont Digital => GetByName("digital");
+ /// Obtains the for the font named doh.
+ public static FiggleFont Doh => GetByName("doh");
+ /// Obtains the for the font named doom.
+ public static FiggleFont Doom => GetByName("doom");
+ /// Obtains the for the font named dosrebel.
+ public static FiggleFont DosRebel => GetByName("dosrebel");
+ /// Obtains the for the font named dotmatrix.
+ public static FiggleFont DotMatrix => GetByName("dotmatrix");
+ /// Obtains the for the font named double.
+ public static FiggleFont Double => GetByName("double");
+ /// Obtains the for the font named doubleshorts.
+ public static FiggleFont DoubleShorts => GetByName("doubleshorts");
+ /// Obtains the for the font named drpepper.
+ public static FiggleFont DRPepper => GetByName("drpepper");
+ /// Obtains the for the font named dwhistled.
+ public static FiggleFont DWhistled => GetByName("dwhistled");
+ /// Obtains the for the font named eftichess.
+ public static FiggleFont EftiChess => GetByName("eftichess");
+ /// Obtains the for the font named eftifont.
+ public static FiggleFont EftiFont => GetByName("eftifont");
+ /// Obtains the for the font named eftipiti.
+ public static FiggleFont EftiPiti => GetByName("eftipiti");
+ /// Obtains the for the font named eftirobot.
+ public static FiggleFont EftiRobot => GetByName("eftirobot");
+ /// Obtains the for the font named eftitalic.
+ public static FiggleFont EftiItalic => GetByName("eftitalic");
+ /// Obtains the for the font named eftiwall.
+ public static FiggleFont EftiWall => GetByName("eftiwall");
+ /// Obtains the for the font named eftiwater.
+ public static FiggleFont EftiWater => GetByName("eftiwater");
+ /// Obtains the for the font named epic.
+ public static FiggleFont Epic => GetByName("epic");
+ /// Obtains the for the font named fender.
+ public static FiggleFont Fender => GetByName("fender");
+ /// Obtains the for the font named filter.
+ public static FiggleFont Filter => GetByName("filter");
+ /// Obtains the for the font named fire_font-k.
+ public static FiggleFont FireFontK => GetByName("fire_font-k");
+ /// Obtains the for the font named fire_font-s.
+ public static FiggleFont FireFontS => GetByName("fire_font-s");
+ /// Obtains the for the font named flipped.
+ public static FiggleFont Flipped => GetByName("flipped");
+ /// Obtains the for the font named flowerpower.
+ public static FiggleFont FlowerPower => GetByName("flowerpower");
+ /// Obtains the for the font named fourtops.
+ public static FiggleFont FourTops => GetByName("fourtops");
+ /// Obtains the for the font named fraktur.
+ public static FiggleFont Fraktur => GetByName("fraktur");
+ /// Obtains the for the font named funface.
+ public static FiggleFont FunFace => GetByName("funface");
+ /// Obtains the for the font named funfaces.
+ public static FiggleFont FunFaces => GetByName("funfaces");
+ /// Obtains the for the font named fuzzy.
+ public static FiggleFont Fuzzy => GetByName("fuzzy");
+ /// Obtains the for the font named georgi16.
+ public static FiggleFont Georgia16 => GetByName("georgi16");
+ /// Obtains the for the font named Georgia11.
+ public static FiggleFont Georgia11 => GetByName("Georgia11");
+ /// Obtains the for the font named ghost.
+ public static FiggleFont Ghost => GetByName("ghost");
+ /// Obtains the for the font named ghoulish.
+ public static FiggleFont Ghoulish => GetByName("ghoulish");
+ /// Obtains the for the font named glenyn.
+ public static FiggleFont Glenyn => GetByName("glenyn");
+ /// Obtains the for the font named goofy.
+ public static FiggleFont Goofy => GetByName("goofy");
+ /// Obtains the for the font named gothic.
+ public static FiggleFont Gothic => GetByName("gothic");
+ /// Obtains the for the font named graceful.
+ public static FiggleFont Graceful => GetByName("graceful");
+ /// Obtains the for the font named gradient.
+ public static FiggleFont Gradient => GetByName("gradient");
+ /// Obtains the for the font named graffiti.
+ public static FiggleFont Graffiti => GetByName("graffiti");
+ /// Obtains the for the font named greek.
+ public static FiggleFont Greek => GetByName("greek");
+ /// Obtains the for the font named heart_left.
+ public static FiggleFont HeartLeft => GetByName("heart_left");
+ /// Obtains the for the font named heart_right.
+ public static FiggleFont HeartRight => GetByName("heart_right");
+ /// Obtains the for the font named henry3d.
+ public static FiggleFont Henry3d => GetByName("henry3d");
+ /// Obtains the for the font named hex.
+ public static FiggleFont Hex => GetByName("hex");
+ /// Obtains the for the font named hieroglyphs.
+ public static FiggleFont Hieroglyphs => GetByName("hieroglyphs");
+ /// Obtains the for the font named hollywood.
+ public static FiggleFont Hollywood => GetByName("hollywood");
+ /// Obtains the for the font named horizontalleft.
+ public static FiggleFont HorizontalLeft => GetByName("horizontalleft");
+ /// Obtains the for the font named horizontalright.
+ public static FiggleFont HorizontalRight => GetByName("horizontalright");
+ /// Obtains the for the font named ICL-1900.
+ public static FiggleFont ICL1900 => GetByName("ICL-1900");
+ /// Obtains the for the font named impossible.
+ public static FiggleFont Impossible => GetByName("impossible");
+ /// Obtains the for the font named invita.
+ public static FiggleFont Invita => GetByName("invita");
+ /// Obtains the for the font named isometric1.
+ public static FiggleFont Isometric1 => GetByName("isometric1");
+ /// Obtains the for the font named isometric2.
+ public static FiggleFont Isometric2 => GetByName("isometric2");
+ /// Obtains the for the font named isometric3.
+ public static FiggleFont Isometric3 => GetByName("isometric3");
+ /// Obtains the for the font named isometric4.
+ public static FiggleFont Isometric4 => GetByName("isometric4");
+ /// Obtains the for the font named italic.
+ public static FiggleFont Italic => GetByName("italic");
+ /// Obtains the for the font named ivrit.
+ public static FiggleFont Ivrit => GetByName("ivrit");
+ /// Obtains the for the font named jacky.
+ public static FiggleFont Jacky => GetByName("jacky");
+ /// Obtains the for the font named jazmine.
+ public static FiggleFont Jazmine => GetByName("jazmine");
+ /// Obtains the for the font named jerusalem.
+ public static FiggleFont Jerusalem => GetByName("jerusalem");
+ /// Obtains the for the font named katakana.
+ public static FiggleFont Katakana => GetByName("katakana");
+ /// Obtains the for the font named kban.
+ public static FiggleFont Kban => GetByName("kban");
+ /// Obtains the for the font named keyboard.
+ public static FiggleFont Keyboard => GetByName("keyboard");
+ /// Obtains the for the font named knob.
+ public static FiggleFont Knob => GetByName("knob");
+ /// Obtains the for the font named konto.
+ public static FiggleFont Konto => GetByName("konto");
+ /// Obtains the for the font named kontoslant.
+ public static FiggleFont KontoSlant => GetByName("kontoslant");
+ /// Obtains the for the font named larry3d.
+ public static FiggleFont Larry3d => GetByName("larry3d");
+ /// Obtains the for the font named lcd.
+ public static FiggleFont Lcd => GetByName("lcd");
+ /// Obtains the for the font named lean.
+ public static FiggleFont Lean => GetByName("lean");
+ /// Obtains the for the font named letters.
+ public static FiggleFont Letters => GetByName("letters");
+ /// Obtains the for the font named lildevil.
+ public static FiggleFont LilDevil => GetByName("lildevil");
+ /// Obtains the for the font named lineblocks.
+ public static FiggleFont LineBlocks => GetByName("lineblocks");
+ /// Obtains the for the font named linux.
+ public static FiggleFont Linux => GetByName("linux");
+ /// Obtains the for the font named lockergnome.
+ public static FiggleFont LockerGnome => GetByName("lockergnome");
+ /// Obtains the for the font named madrid.
+ public static FiggleFont Madrid => GetByName("madrid");
+ /// Obtains the for the font named marquee.
+ public static FiggleFont Marquee => GetByName("marquee");
+ /// Obtains the for the font named maxfour.
+ public static FiggleFont MaxFour => GetByName("maxfour");
+ /// Obtains the for the font named merlin1.
+ public static FiggleFont Merlin1 => GetByName("merlin1");
+ /// Obtains the for the font named merlin2.
+ public static FiggleFont Merlin2 => GetByName("merlin2");
+ /// Obtains the for the font named mike.
+ public static FiggleFont Mike => GetByName("mike");
+ /// Obtains the for the font named mini.
+ public static FiggleFont Mini => GetByName("mini");
+ /// Obtains the for the font named mirror.
+ public static FiggleFont Mirror => GetByName("mirror");
+ /// Obtains the for the font named mnemonic.
+ public static FiggleFont Mnemonic => GetByName("mnemonic");
+ /// Obtains the for the font named modular.
+ public static FiggleFont Modular => GetByName("modular");
+ /// Obtains the for the font named morse.
+ public static FiggleFont Morse => GetByName("morse");
+ /// Obtains the for the font named morse2.
+ public static FiggleFont Morse2 => GetByName("morse2");
+ /// Obtains the for the font named moscow.
+ public static FiggleFont Moscow => GetByName("moscow");
+ /// Obtains the for the font named mshebrew210.
+ public static FiggleFont Mshebrew210 => GetByName("mshebrew210");
+ /// Obtains the for the font named muzzle.
+ public static FiggleFont Muzzle => GetByName("muzzle");
+ /// Obtains the for the font named nancyj.
+ public static FiggleFont NancyJ => GetByName("nancyj");
+ /// Obtains the for the font named nancyj-fancy.
+ public static FiggleFont NancyJFancy => GetByName("nancyj-fancy");
+ /// Obtains the for the font named nancyj-improved.
+ public static FiggleFont NancyJImproved => GetByName("nancyj-improved");
+ /// Obtains the for the font named nancyj-underlined.
+ public static FiggleFont NancyJUnderlined => GetByName("nancyj-underlined");
+ /// Obtains the for the font named nipples.
+ public static FiggleFont Nipples => GetByName("nipples");
+ /// Obtains the for the font named nscript.
+ public static FiggleFont NScript => GetByName("nscript");
+ /// Obtains the for the font named ntgreek.
+ public static FiggleFont NTGreek => GetByName("ntgreek");
+ /// Obtains the for the font named nvscript.
+ public static FiggleFont NVScript => GetByName("nvscript");
+ /// Obtains the for the font named o8.
+ public static FiggleFont O8 => GetByName("o8");
+ /// Obtains the for the font named octal.
+ public static FiggleFont Octal => GetByName("octal");
+ /// Obtains the for the font named ogre.
+ public static FiggleFont Ogre => GetByName("ogre");
+ /// Obtains the for the font named oldbanner.
+ public static FiggleFont OldBanner => GetByName("oldbanner");
+ /// Obtains the for the font named os2.
+ public static FiggleFont OS2 => GetByName("os2");
+ /// Obtains the for the font named pawp.
+ public static FiggleFont Pawp => GetByName("pawp");
+ /// Obtains the for the font named peaks.
+ public static FiggleFont Peaks => GetByName("peaks");
+ /// Obtains the for the font named peaksslant.
+ public static FiggleFont PeaksSlant => GetByName("peaksslant");
+ /// Obtains the for the font named pebbles.
+ public static FiggleFont Pebbles => GetByName("pebbles");
+ /// Obtains the for the font named pepper.
+ public static FiggleFont Pepper => GetByName("pepper");
+ /// Obtains the for the font named poison.
+ public static FiggleFont Poison => GetByName("poison");
+ /// Obtains the for the font named puffy.
+ public static FiggleFont Puffy => GetByName("puffy");
+ /// Obtains the for the font named puzzle.
+ public static FiggleFont Puzzle => GetByName("puzzle");
+ /// Obtains the for the font named pyramid.
+ public static FiggleFont Pyramid => GetByName("pyramid");
+ /// Obtains the for the font named rammstein.
+ public static FiggleFont Rammstein => GetByName("rammstein");
+ /// Obtains the for the font named rectangles.
+ public static FiggleFont Rectangles => GetByName("rectangles");
+ /// Obtains the for the font named red_phoenix.
+ public static FiggleFont RedPhoenix => GetByName("red_phoenix");
+ /// Obtains the for the font named relief.
+ public static FiggleFont Relief => GetByName("relief");
+ /// Obtains the for the font named relief2.
+ public static FiggleFont Relief2 => GetByName("relief2");
+ /// Obtains the for the font named rev.
+ public static FiggleFont Rev => GetByName("rev");
+ /// Obtains the for the font named reverse.
+ public static FiggleFont Reverse => GetByName("reverse");
+ /// Obtains the for the font named roman.
+ public static FiggleFont Roman => GetByName("roman");
+ /// Obtains the for the font named rot13.
+ public static FiggleFont Rot13 => GetByName("rot13");
+ /// Obtains the for the font named rotated.
+ public static FiggleFont Rotated => GetByName("rotated");
+ /// Obtains the for the font named rounded.
+ public static FiggleFont Rounded => GetByName("rounded");
+ /// Obtains the for the font named rowancap.
+ public static FiggleFont RowanCap => GetByName("rowancap");
+ /// Obtains the for the font named rozzo.
+ public static FiggleFont Rozzo => GetByName("rozzo");
+ /// Obtains the for the font named runic.
+ public static FiggleFont Runic => GetByName("runic");
+ /// Obtains the for the font named runyc.
+ public static FiggleFont Runyc => GetByName("runyc");
+ /// Obtains the for the font named santaclara.
+ public static FiggleFont SantaClara => GetByName("santaclara");
+ /// Obtains the for the font named sblood.
+ public static FiggleFont SBlood => GetByName("sblood");
+ /// Obtains the for the font named script.
+ public static FiggleFont Script => GetByName("script");
+ /// Obtains the for the font named serifcap.
+ public static FiggleFont SerifCap => GetByName("serifcap");
+ /// Obtains the for the font named shadow.
+ public static FiggleFont Shadow => GetByName("shadow");
+ /// Obtains the for the font named shimrod.
+ public static FiggleFont Shimrod => GetByName("shimrod");
+ /// Obtains the for the font named short.
+ public static FiggleFont Short => GetByName("short");
+ /// Obtains the for the font named slant.
+ public static FiggleFont Slant => GetByName("slant");
+ /// Obtains the for the font named slide.
+ public static FiggleFont Slide => GetByName("slide");
+ /// Obtains the for the font named slscript.
+ public static FiggleFont ScriptSlant => GetByName("slscript");
+ /// Obtains the for the font named small.
+ public static FiggleFont Small => GetByName("small");
+ /// Obtains the for the font named smallcaps.
+ public static FiggleFont SmallCaps => GetByName("smallcaps");
+ /// Obtains the for the font named smisome1.
+ public static FiggleFont IsometricSmall => GetByName("smisome1");
+ /// Obtains the for the font named smkeyboard.
+ public static FiggleFont KeyboardSmall => GetByName("smkeyboard");
+ /// Obtains the for the font named smpoison.
+ public static FiggleFont PoisonSmall => GetByName("smpoison");
+ /// Obtains the for the font named smscript.
+ public static FiggleFont ScriptSmall => GetByName("smscript");
+ /// Obtains the for the font named smshadow.
+ public static FiggleFont ShadowSmall => GetByName("smshadow");
+ /// Obtains the for the font named smslant.
+ public static FiggleFont SlantSmall => GetByName("smslant");
+ /// Obtains the for the font named smtengwar.
+ public static FiggleFont TengwarSmall => GetByName("smtengwar");
+ /// Obtains the for the font named soft.
+ public static FiggleFont Soft => GetByName("soft");
+ /// Obtains the for the font named speed.
+ public static FiggleFont Speed => GetByName("speed");
+ /// Obtains the for the font named spliff.
+ public static FiggleFont Spliff => GetByName("spliff");
+ /// Obtains the for the font named s-relief.
+ public static FiggleFont SRelief => GetByName("s-relief");
+ /// Obtains the for the font named stacey.
+ public static FiggleFont Stacey => GetByName("stacey");
+ /// Obtains the for the font named stampate.
+ public static FiggleFont Stampate => GetByName("stampate");
+ /// Obtains the for the font named stampatello.
+ public static FiggleFont Stampatello => GetByName("stampatello");
+ /// Obtains the for the font named standard.
+ public static FiggleFont Standard => GetByName("standard");
+ /// Obtains the for the font named starstrips.
+ public static FiggleFont Starstrips => GetByName("starstrips");
+ /// Obtains the for the font named starwars.
+ public static FiggleFont Starwars => GetByName("starwars");
+ /// Obtains the for the font named stellar.
+ public static FiggleFont Stellar => GetByName("stellar");
+ /// Obtains the for the font named stforek.
+ public static FiggleFont Stforek => GetByName("stforek");
+ /// Obtains the for the font named stop.
+ public static FiggleFont Stop => GetByName("stop");
+ /// Obtains the for the font named straight.
+ public static FiggleFont Straight => GetByName("straight");
+ /// Obtains the for the font named sub-zero.
+ public static FiggleFont SubZero => GetByName("sub-zero");
+ /// Obtains the for the font named swampland.
+ public static FiggleFont Swampland => GetByName("swampland");
+ /// Obtains the for the font named swan.
+ public static FiggleFont Swan => GetByName("swan");
+ /// Obtains the for the font named sweet.
+ public static FiggleFont Sweet => GetByName("sweet");
+ /// Obtains the for the font named tanja.
+ public static FiggleFont Tanja => GetByName("tanja");
+ /// Obtains the for the font named tengwar.
+ public static FiggleFont Tengwar => GetByName("tengwar");
+ /// Obtains the for the font named term.
+ public static FiggleFont Term => GetByName("term");
+ /// Obtains the for the font named test1.
+ public static FiggleFont Test1 => GetByName("test1");
+ /// Obtains the for the font named thick.
+ public static FiggleFont Thick => GetByName("thick");
+ /// Obtains the for the font named thin.
+ public static FiggleFont Thin => GetByName("thin");
+ /// Obtains the for the font named threepoint.
+ public static FiggleFont ThreePoint => GetByName("threepoint");
+ /// Obtains the for the font named ticks.
+ public static FiggleFont Ticks => GetByName("ticks");
+ /// Obtains the for the font named ticksslant.
+ public static FiggleFont TicksSlant => GetByName("ticksslant");
+ /// Obtains the for the font named tiles.
+ public static FiggleFont Tiles => GetByName("tiles");
+ /// Obtains the for the font named tinker-toy.
+ public static FiggleFont TinkerToy => GetByName("tinker-toy");
+ /// Obtains the for the font named tombstone.
+ public static FiggleFont Tombstone => GetByName("tombstone");
+ /// Obtains the for the font named train.
+ public static FiggleFont Train => GetByName("train");
+ /// Obtains the for the font named trek.
+ public static FiggleFont Trek => GetByName("trek");
+ /// Obtains the for the font named tsalagi.
+ public static FiggleFont Tsalagi => GetByName("tsalagi");
+ /// Obtains the for the font named tubular.
+ public static FiggleFont Tubular => GetByName("tubular");
+ /// Obtains the for the font named twisted.
+ public static FiggleFont Twisted => GetByName("twisted");
+ /// Obtains the for the font named twopoint.
+ public static FiggleFont TwoPoint => GetByName("twopoint");
+ /// Obtains the for the font named univers.
+ public static FiggleFont Univers => GetByName("univers");
+ /// Obtains the for the font named usaflag.
+ public static FiggleFont UsaFlag => GetByName("usaflag");
+ /// Obtains the for the font named varsity.
+ public static FiggleFont Varsity => GetByName("varsity");
+ /// Obtains the for the font named wavy.
+ public static FiggleFont Wavy => GetByName("wavy");
+ /// Obtains the for the font named weird.
+ public static FiggleFont Weird => GetByName("weird");
+ /// Obtains the for the font named wetletter.
+ public static FiggleFont WetLetter => GetByName("wetletter");
+ /// Obtains the for the font named whimsy.
+ public static FiggleFont Whimsy => GetByName("whimsy");
+ /// Obtains the for the font named wow.
+ public static FiggleFont Wow => GetByName("wow");
+}
+
diff --git a/Figgle.Fonts/FiggleFonts.Generated.tt b/Figgle.Fonts/FiggleFonts.Generated.tt
new file mode 100644
index 0000000..873dd57
--- /dev/null
+++ b/Figgle.Fonts/FiggleFonts.Generated.tt
@@ -0,0 +1,91 @@
+<#@ template debug="false" hostspecific="true" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ import namespace="System.IO" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Text.RegularExpressions" #>
+<#@ output extension=".cs" #>
+// Auto-generated code - Do not modify manually
+// Generated from FiggleFonts.Generated.tt
+
+namespace Figgle.Fonts;
+
+public static partial class FiggleFonts
+{
+<#
+
+Dictionary aliases = GetFontAliases();
+
+List fontNames = GetFontNames();
+
+// Sort the font names for consistent ordering
+fontNames.Sort();
+
+foreach (var fontName in fontNames)
+{
+ var propertyName = GeneratePropertyName(fontName, aliases);
+#>
+ /// Obtains the for the font named <#= fontName #>.
+ public static FiggleFont <#= propertyName #> => GetByName("<#= fontName #>");
+<#
+}
+#>}
+
+<#+
+private Dictionary GetFontAliases()
+{
+ var aliasFile = Path.Combine(Host.ResolvePath("."), "Aliases.csv");
+
+ // Property name by file name
+ Dictionary aliases = new();
+
+ string content = File.ReadAllText(aliasFile);
+
+ foreach (var line in content.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries))
+ {
+ var parts = line.Split(',');
+ if (parts.Length == 2)
+ {
+ var fontName = parts[0].Trim();
+ var propertyName = parts[1].Trim();
+
+ if (!string.IsNullOrEmpty(fontName) && !string.IsNullOrEmpty(propertyName))
+ {
+ aliases[fontName] = propertyName;
+ }
+ }
+ }
+
+ return aliases;
+}
+
+private List GetFontNames()
+{
+ var fontDir = Path.GetFullPath(Path.Combine(Host.ResolvePath("."), "..", "fonts"));
+
+ if (!Directory.Exists(fontDir))
+ {
+ throw new DirectoryNotFoundException($"Font directory not found at {fontDir}");
+ }
+
+ var fontFiles = Directory.GetFiles(fontDir, "*.flf");
+ return fontFiles.Select(Path.GetFileNameWithoutExtension).ToList();
+}
+
+private string GeneratePropertyName(string fontName, Dictionary aliases)
+{
+ // Property name by file name
+ if (aliases.TryGetValue(fontName, out var alias))
+ {
+ return alias;
+ }
+
+ // If no alias is found, generate a PascalCase property name
+ return Regex
+ .Replace(fontName, @"(?<=^|[\s\-_0-9])[a-z]", m => m.Value.ToUpperInvariant())
+ .Replace(" ", "")
+ .Replace("-", "")
+ .Replace("_", "");
+}
+#>
\ No newline at end of file
diff --git a/Figgle.Fonts/FiggleFonts.cs b/Figgle.Fonts/FiggleFonts.cs
index 04575fa..bcd3bf4 100644
--- a/Figgle.Fonts/FiggleFonts.cs
+++ b/Figgle.Fonts/FiggleFonts.cs
@@ -13,290 +13,18 @@ namespace Figgle.Fonts;
///
/// Fonts are stored as an embedded ZIP archive within the assembly.
///
-public static class FiggleFonts
+public static partial class FiggleFonts
{
private static readonly ConcurrentDictionary _fontByName = new(StringComparer.Ordinal);
private static readonly StringPool _stringPool = new();
-#pragma warning disable CS1591
- public static FiggleFont OneRow => GetByName("1row");
- public static FiggleFont ThreeD => GetByName("3-d");
- public static FiggleFont ThreeDDiagonal => GetByName("3d_diagonal");
- public static FiggleFont ThreeByFive => GetByName("3x5");
- public static FiggleFont FourMax => GetByName("4max");
- public static FiggleFont FiveLineOblique => GetByName("5lineoblique");
- public static FiggleFont Acrobatic => GetByName("acrobatic");
- public static FiggleFont Alligator => GetByName("alligator");
- public static FiggleFont Alligator2 => GetByName("alligator2");
- public static FiggleFont Alligator3 => GetByName("alligator3");
- public static FiggleFont Alpha => GetByName("alpha");
- public static FiggleFont Alphabet => GetByName("alphabet");
- public static FiggleFont Amc3Line => GetByName("amc3line");
- public static FiggleFont Amc3Liv1 => GetByName("amc3liv1");
- public static FiggleFont AmcAaa01 => GetByName("amcaaa01");
- public static FiggleFont AmcNeko => GetByName("amcneko");
- public static FiggleFont AmcRazor2 => GetByName("amcrazo2");
- public static FiggleFont AmcRazor => GetByName("amcrazor");
- public static FiggleFont AmcSlash => GetByName("amcslash");
- public static FiggleFont AmcSlder => GetByName("amcslder");
- public static FiggleFont AmcThin => GetByName("amcthin");
- public static FiggleFont AmcTubes => GetByName("amctubes");
- public static FiggleFont AmcUn1 => GetByName("amcun1");
- public static FiggleFont Arrows => GetByName("arrows");
- public static FiggleFont AsciiNewroman => GetByName("ascii_new_roman");
- public static FiggleFont Avatar => GetByName("avatar");
- public static FiggleFont B1FF => GetByName("B1FF");
- public static FiggleFont Banner => GetByName("banner");
- public static FiggleFont Banner3 => GetByName("banner3");
- public static FiggleFont Banner3D => GetByName("banner3-D");
- public static FiggleFont Banner4 => GetByName("banner4");
- public static FiggleFont BarbWire => GetByName("barbwire");
- public static FiggleFont Basic => GetByName("basic");
- public static FiggleFont Bear => GetByName("bear");
- public static FiggleFont Bell => GetByName("bell");
- public static FiggleFont Benjamin => GetByName("benjamin");
- public static FiggleFont Big => GetByName("big");
- public static FiggleFont BigChief => GetByName("bigchief");
- public static FiggleFont BigFig => GetByName("bigfig");
- public static FiggleFont Binary => GetByName("binary");
- public static FiggleFont Block => GetByName("block");
- public static FiggleFont Blocks => GetByName("blocks");
- public static FiggleFont Bolger => GetByName("bolger");
- public static FiggleFont Braced => GetByName("braced");
- public static FiggleFont Bright => GetByName("bright");
- public static FiggleFont Broadway => GetByName("broadway");
- public static FiggleFont BroadwayKB => GetByName("broadway_kb");
- public static FiggleFont Bubble => GetByName("bubble");
- public static FiggleFont Bulbhead => GetByName("bulbhead");
- public static FiggleFont Caligraphy2 => GetByName("calgphy2");
- public static FiggleFont Caligraphy => GetByName("caligraphy");
- public static FiggleFont Cards => GetByName("cards");
- public static FiggleFont CatWalk => GetByName("catwalk");
- public static FiggleFont Chiseled => GetByName("chiseled");
- public static FiggleFont Chunky => GetByName("chunky");
- public static FiggleFont Coinstak => GetByName("coinstak");
- public static FiggleFont Cola => GetByName("cola");
- public static FiggleFont Colossal => GetByName("colossal");
- public static FiggleFont Computer => GetByName("computer");
- public static FiggleFont Contessa => GetByName("contessa");
- public static FiggleFont Contrast => GetByName("contrast");
- public static FiggleFont Cosmic => GetByName("cosmic");
- public static FiggleFont Cosmike => GetByName("cosmike");
- public static FiggleFont Crawford => GetByName("crawford");
- public static FiggleFont Crazy => GetByName("crazy");
- public static FiggleFont Cricket => GetByName("cricket");
- public static FiggleFont Cursive => GetByName("cursive");
- public static FiggleFont CyberLarge => GetByName("cyberlarge");
- public static FiggleFont CyberMedium => GetByName("cybermedium");
- public static FiggleFont CyberSmall => GetByName("cybersmall");
- public static FiggleFont Cygnet => GetByName("cygnet");
- public static FiggleFont DANC4 => GetByName("DANC4");
- public static FiggleFont DancingFont => GetByName("dancingfont");
- public static FiggleFont Decimal => GetByName("decimal");
- public static FiggleFont DefLeppard => GetByName("defleppard");
- public static FiggleFont Diamond => GetByName("diamond");
- public static FiggleFont DietCola => GetByName("dietcola");
- public static FiggleFont Digital => GetByName("digital");
- public static FiggleFont Doh => GetByName("doh");
- public static FiggleFont Doom => GetByName("doom");
- public static FiggleFont DosRebel => GetByName("dosrebel");
- public static FiggleFont DotMatrix => GetByName("dotmatrix");
- public static FiggleFont Double => GetByName("double");
- public static FiggleFont DoubleShorts => GetByName("doubleshorts");
- public static FiggleFont DRPepper => GetByName("drpepper");
- public static FiggleFont DWhistled => GetByName("dwhistled");
- public static FiggleFont EftiChess => GetByName("eftichess");
- public static FiggleFont EftiFont => GetByName("eftifont");
- public static FiggleFont EftiPiti => GetByName("eftipiti");
- public static FiggleFont EftiRobot => GetByName("eftirobot");
- public static FiggleFont EftiItalic => GetByName("eftitalic");
- public static FiggleFont EftiWall => GetByName("eftiwall");
- public static FiggleFont EftiWater => GetByName("eftiwater");
- public static FiggleFont Epic => GetByName("epic");
- public static FiggleFont Fender => GetByName("fender");
- public static FiggleFont Filter => GetByName("filter");
- public static FiggleFont FireFontK => GetByName("fire_font-k");
- public static FiggleFont FireFontS => GetByName("fire_font-s");
- public static FiggleFont Flipped => GetByName("flipped");
- public static FiggleFont FlowerPower => GetByName("flowerpower");
- public static FiggleFont FourTops => GetByName("fourtops");
- public static FiggleFont Fraktur => GetByName("fraktur");
- public static FiggleFont FunFace => GetByName("funface");
- public static FiggleFont FunFaces => GetByName("funfaces");
- public static FiggleFont Fuzzy => GetByName("fuzzy");
- public static FiggleFont Georgia16 => GetByName("georgi16");
- public static FiggleFont Georgia11 => GetByName("Georgia11");
- public static FiggleFont Ghost => GetByName("ghost");
- public static FiggleFont Ghoulish => GetByName("ghoulish");
- public static FiggleFont Glenyn => GetByName("glenyn");
- public static FiggleFont Goofy => GetByName("goofy");
- public static FiggleFont Gothic => GetByName("gothic");
- public static FiggleFont Graceful => GetByName("graceful");
- public static FiggleFont Gradient => GetByName("gradient");
- public static FiggleFont Graffiti => GetByName("graffiti");
- public static FiggleFont Greek => GetByName("greek");
- public static FiggleFont HeartLeft => GetByName("heart_left");
- public static FiggleFont HeartRight => GetByName("heart_right");
- public static FiggleFont Henry3d => GetByName("henry3d");
- public static FiggleFont Hex => GetByName("hex");
- public static FiggleFont Hieroglyphs => GetByName("hieroglyphs");
- public static FiggleFont Hollywood => GetByName("hollywood");
- public static FiggleFont HorizontalLeft => GetByName("horizontalleft");
- public static FiggleFont HorizontalRight => GetByName("horizontalright");
- public static FiggleFont ICL1900 => GetByName("ICL-1900");
- public static FiggleFont Impossible => GetByName("impossible");
- public static FiggleFont Invita => GetByName("invita");
- public static FiggleFont Isometric1 => GetByName("isometric1");
- public static FiggleFont Isometric2 => GetByName("isometric2");
- public static FiggleFont Isometric3 => GetByName("isometric3");
- public static FiggleFont Isometric4 => GetByName("isometric4");
- public static FiggleFont Italic => GetByName("italic");
- public static FiggleFont Ivrit => GetByName("ivrit");
- public static FiggleFont Jacky => GetByName("jacky");
- public static FiggleFont Jazmine => GetByName("jazmine");
- public static FiggleFont Jerusalem => GetByName("jerusalem");
- public static FiggleFont Katakana => GetByName("katakana");
- public static FiggleFont Kban => GetByName("kban");
- public static FiggleFont Keyboard => GetByName("keyboard");
- public static FiggleFont Knob => GetByName("knob");
- public static FiggleFont Konto => GetByName("konto");
- public static FiggleFont KontoSlant => GetByName("kontoslant");
- public static FiggleFont Larry3d => GetByName("larry3d");
- public static FiggleFont Lcd => GetByName("lcd");
- public static FiggleFont Lean => GetByName("lean");
- public static FiggleFont Letters => GetByName("letters");
- public static FiggleFont LilDevil => GetByName("lildevil");
- public static FiggleFont LineBlocks => GetByName("lineblocks");
- public static FiggleFont Linux => GetByName("linux");
- public static FiggleFont LockerGnome => GetByName("lockergnome");
- public static FiggleFont Madrid => GetByName("madrid");
- public static FiggleFont Marquee => GetByName("marquee");
- public static FiggleFont MaxFour => GetByName("maxfour");
- public static FiggleFont Merlin1 => GetByName("merlin1");
- public static FiggleFont Merlin2 => GetByName("merlin2");
- public static FiggleFont Mike => GetByName("mike");
- public static FiggleFont Mini => GetByName("mini");
- public static FiggleFont Mirror => GetByName("mirror");
- public static FiggleFont Mnemonic => GetByName("mnemonic");
- public static FiggleFont Modular => GetByName("modular");
- public static FiggleFont Morse => GetByName("morse");
- public static FiggleFont Morse2 => GetByName("morse2");
- public static FiggleFont Moscow => GetByName("moscow");
- public static FiggleFont Mshebrew210 => GetByName("mshebrew210");
- public static FiggleFont Muzzle => GetByName("muzzle");
- public static FiggleFont NancyJ => GetByName("nancyj");
- public static FiggleFont NancyJFancy => GetByName("nancyj-fancy");
- public static FiggleFont NancyJImproved => GetByName("nancyj-improved");
- public static FiggleFont NancyJUnderlined => GetByName("nancyj-underlined");
- public static FiggleFont Nipples => GetByName("nipples");
- public static FiggleFont NScript => GetByName("nscript");
- public static FiggleFont NTGreek => GetByName("ntgreek");
- public static FiggleFont NVScript => GetByName("nvscript");
- public static FiggleFont O8 => GetByName("o8");
- public static FiggleFont Octal => GetByName("octal");
- public static FiggleFont Ogre => GetByName("ogre");
- public static FiggleFont OldBanner => GetByName("oldbanner");
- public static FiggleFont OS2 => GetByName("os2");
- public static FiggleFont Pawp => GetByName("pawp");
- public static FiggleFont Peaks => GetByName("peaks");
- public static FiggleFont PeaksSlant => GetByName("peaksslant");
- public static FiggleFont Pebbles => GetByName("pebbles");
- public static FiggleFont Pepper => GetByName("pepper");
- public static FiggleFont Poison => GetByName("poison");
- public static FiggleFont Puffy => GetByName("puffy");
- public static FiggleFont Puzzle => GetByName("puzzle");
- public static FiggleFont Pyramid => GetByName("pyramid");
- public static FiggleFont Rammstein => GetByName("rammstein");
- public static FiggleFont Rectangles => GetByName("rectangles");
- public static FiggleFont RedPhoenix => GetByName("red_phoenix");
- public static FiggleFont Relief => GetByName("relief");
- public static FiggleFont Relief2 => GetByName("relief2");
- public static FiggleFont Rev => GetByName("rev");
- public static FiggleFont Reverse => GetByName("reverse");
- public static FiggleFont Roman => GetByName("roman");
- public static FiggleFont Rot13 => GetByName("rot13");
- public static FiggleFont Rotated => GetByName("rotated");
- public static FiggleFont Rounded => GetByName("rounded");
- public static FiggleFont RowanCap => GetByName("rowancap");
- public static FiggleFont Rozzo => GetByName("rozzo");
- public static FiggleFont Runic => GetByName("runic");
- public static FiggleFont Runyc => GetByName("runyc");
- public static FiggleFont SantaClara => GetByName("santaclara");
- public static FiggleFont SBlood => GetByName("sblood");
- public static FiggleFont Script => GetByName("script");
- public static FiggleFont ScriptSlant => GetByName("slscript");
- public static FiggleFont SerifCap => GetByName("serifcap");
- public static FiggleFont Shadow => GetByName("shadow");
- public static FiggleFont Shimrod => GetByName("shimrod");
- public static FiggleFont Short => GetByName("short");
- public static FiggleFont Slant => GetByName("slant");
- public static FiggleFont Slide => GetByName("slide");
- public static FiggleFont Small => GetByName("small");
- public static FiggleFont SmallCaps => GetByName("smallcaps");
- public static FiggleFont IsometricSmall => GetByName("smisome1");
- public static FiggleFont KeyboardSmall => GetByName("smkeyboard");
- public static FiggleFont PoisonSmall => GetByName("smpoison");
- public static FiggleFont ScriptSmall => GetByName("smscript");
- public static FiggleFont ShadowSmall => GetByName("smshadow");
- public static FiggleFont SlantSmall => GetByName("smslant");
- public static FiggleFont TengwarSmall => GetByName("smtengwar");
- public static FiggleFont Soft => GetByName("soft");
- public static FiggleFont Speed => GetByName("speed");
- public static FiggleFont Spliff => GetByName("spliff");
- public static FiggleFont SRelief => GetByName("s-relief");
- public static FiggleFont Stacey => GetByName("stacey");
- public static FiggleFont Stampate => GetByName("stampate");
- public static FiggleFont Stampatello => GetByName("stampatello");
- public static FiggleFont Standard => GetByName("standard");
- public static FiggleFont Starstrips => GetByName("starstrips");
- public static FiggleFont Starwars => GetByName("starwars");
- public static FiggleFont Stellar => GetByName("stellar");
- public static FiggleFont Stforek => GetByName("stforek");
- public static FiggleFont Stop => GetByName("stop");
- public static FiggleFont Straight => GetByName("straight");
- public static FiggleFont SubZero => GetByName("sub-zero");
- public static FiggleFont Swampland => GetByName("swampland");
- public static FiggleFont Swan => GetByName("swan");
- public static FiggleFont Sweet => GetByName("sweet");
- public static FiggleFont Tanja => GetByName("tanja");
- public static FiggleFont Tengwar => GetByName("tengwar");
- public static FiggleFont Term => GetByName("term");
- public static FiggleFont Test1 => GetByName("test1");
- public static FiggleFont Thick => GetByName("thick");
- public static FiggleFont Thin => GetByName("thin");
- public static FiggleFont ThreePoint => GetByName("threepoint");
- public static FiggleFont Ticks => GetByName("ticks");
- public static FiggleFont TicksSlant => GetByName("ticksslant");
- public static FiggleFont Tiles => GetByName("tiles");
- public static FiggleFont TinkerToy => GetByName("tinker-toy");
- public static FiggleFont Tombstone => GetByName("tombstone");
- public static FiggleFont Train => GetByName("train");
- public static FiggleFont Trek => GetByName("trek");
- public static FiggleFont Tsalagi => GetByName("tsalagi");
- public static FiggleFont Tubular => GetByName("tubular");
- public static FiggleFont Twisted => GetByName("twisted");
- public static FiggleFont TwoPoint => GetByName("twopoint");
- public static FiggleFont Univers => GetByName("univers");
- public static FiggleFont UsaFlag => GetByName("usaflag");
- public static FiggleFont Varsity => GetByName("varsity");
- public static FiggleFont Wavy => GetByName("wavy");
- public static FiggleFont Weird => GetByName("weird");
- public static FiggleFont WetLetter => GetByName("wetletter");
- public static FiggleFont Whimsy => GetByName("whimsy");
- public static FiggleFont Wow => GetByName("wow");
-#pragma warning restore CS1591
-
private static FiggleFont GetByName(string name)
{
return _fontByName.GetOrAdd(name, FontFactory);
static FiggleFont FontFactory(string name)
{
- var font = ParseEmbeddedFont(name);
-
- if (font is null)
- throw new FiggleException($"No embedded font exists with name \"{name}\".");
-
+ var font = ParseEmbeddedFont(name) ?? throw new FiggleException($"No embedded font exists with name \"{name}\".");
return font;
}
}
diff --git a/images/repo-card.svg b/images/repo-card.svg
index 8aae7bd..c3134d3 100644
--- a/images/repo-card.svg
+++ b/images/repo-card.svg
@@ -7,9 +7,9 @@
viewBox="0 0 338.66666 169.33334"
version="1.1"
id="svg1"
- inkscape:export-filename="bitmap.png"
- inkscape:export-xdpi="200.44"
- inkscape:export-ydpi="200.44"
+ inkscape:export-filename="repo-card.png"
+ inkscape:export-xdpi="95.999992"
+ inkscape:export-ydpi="95.999992"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
sodipodi:docname="repo-card.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"