Skip to content

Commit

Permalink
Change known font, to existing font.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohn123 committed Jul 7, 2022
1 parent f1c54a8 commit cabdc70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ testKnownFont
|knownFonts svgTextMorph|

svgTextMorph := SVGMorph fromString: self knownFontTextSVG.
knownFonts := OrderedCollection newFrom: {'Atlanta'. 'OpenSans'}.
knownFonts := OrderedCollection newFrom: {'Atlanta'. 'Accujen'}.

(1 to: 2) do: [:i | self assert: (knownFonts at: i) equals: (svgTextMorph submorphs at: i) fontToUse familyName]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scalingTextSVG" : "tw 6/2/2022 11:59",
"testDefaultFont" : "AS 6/21/2022 12:26",
"testDefaultFontInSVGText" : "lra 6/23/2022 18:55",
"testKnownFont" : "lra 6/23/2022 18:51",
"testKnownFont" : "AS 7/7/2022 16:41",
"testTextColor" : "lra 6/23/2022 18:55",
"testTextScaling" : "lra 6/23/2022 18:55",
"testTextSize" : "lra 6/23/2022 18:55",
Expand Down

0 comments on commit cabdc70

Please sign in to comment.