Skip to content

Commit

Permalink
#2083 With WYSIWYG comments IBM Plex Condensed font display incorrect…
Browse files Browse the repository at this point in the history
…ly (#2084)

Signed-off-by: CTomlyn <[email protected]>
  • Loading branch information
tomlyn authored Jul 31, 2024
1 parent dc5c074 commit e09da91
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"texttoolbar.fontAction": "Font",
"texttoolbar.fontIBMPlexSans": "IBM Plex Sans",
"texttoolbar.fontIBMPlexSerif": "IBM Plex Serif",
"texttoolbar.fontIBMPlexCon": "IBM Plex Condensed",
"texttoolbar.fontIBMPlexSansCon": "IBM Plex Sans Condensed",
"texttoolbar.fontIBMPlexMono": "IBM Plex Mono",
"texttoolbar.fontArial": "Arial",
"texttoolbar.fontComicSansMS": "Comic Sans MS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"texttoolbar.fontAction": "[Esperanto~Font~~eo]",
"texttoolbar.fontIBMPlexSans": "[Esperanto~IBM Plex Sans~~eo]",
"texttoolbar.fontIBMPlexSerif": "[Esperanto~IBM Plex Serif~~eo]",
"texttoolbar.fontIBMPlexCon": "[Esperanto~IBM Plex Condensed~~eo]",
"texttoolbar.fontIBMPlexSansCon": "[Esperanto~IBM Plex Sans Condensed~~eo]",
"texttoolbar.fontIBMPlexMono": "[Esperanto~IBM Plex Mono~~eo]",
"texttoolbar.fontArial": "[Esperanto~Arial~~eo]",
"texttoolbar.fontComicSansMS": "[Esperanto~Comic Sans MS~~eo]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class CommonCanvasTextToolbar extends React.Component {
const subMenuFont = [
{ action: "font-ibm-plex-sans", label: this.getLabel("texttoolbar.fontIBMPlexSans"), enable: true },
{ action: "font-ibm-plex-serif", label: this.getLabel("texttoolbar.fontIBMPlexSerif"), enable: true },
{ action: "font-ibm-plex-condensed", label: this.getLabel("texttoolbar.fontIBMPlexCon"), enable: true },
{ action: "font-ibm-plex-sans-condensed", label: this.getLabel("texttoolbar.fontIBMPlexSansCon"), enable: true },
{ action: "font-ibm-plex-mono", label: this.getLabel("texttoolbar.fontIBMPlexMono"), enable: true },
{ action: "font-arial", label: this.getLabel("texttoolbar.fontArial"), enable: true },
{ action: "font-comic-sans-ms", label: this.getLabel("texttoolbar.fontComicSansMS"), enable: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ export default class CanvasUtils {
default:
case ("font-ibm-plex-sans"): return "\"IBM Plex Sans\", sans-serif";
case ("font-ibm-plex-serif"): return "\"IBM Plex Serif\", serif";
case ("font-ibm-plex-condensed"): return "IBM Plex Condensed";
case ("font-ibm-plex-sans-condensed"): return "IBM Plex Sans Condensed";
case ("font-ibm-plex-mono"): return "\"IBM Plex Mono\", monospace";
case ("font-arial"): return "\"Arial\", sans-serif";
case ("font-comic-sans-ms"): return "\"Comic Sans MS\", sans-serif";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"formats": [
{
"type": "fontType",
"value": "font-ibm-plex-condensed"
"value": "font-ibm-plex-sans-condensed"
},
{
"type": "textSize",
Expand Down

0 comments on commit e09da91

Please sign in to comment.