Skip to content

Commit

Permalink
[11_17] Use UnBatang instead of unbatang for default korean font
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Dec 16, 2023
1 parent a8c9a8d commit ef6749e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions TeXmacs/progs/fonts/font-old-menu.scm
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@
("SimYou" (make-with "font" "simyou")))
(if (font-exists-in-tt? "ukai")
("UKai" (make-with "font" "ukai")))
(if (font-exists-in-tt? "unbatang")
("Unbatang" (make-with "font" "unbatang")))
(if (font-exists-in-tt? "UnBatang")
("UnBatang" (make-with "font" "unbatang")))
(if (font-exists-in-tt? "uming")
("UMing" (make-with "font" "uming")))
(if (font-exists-in-tt? "wqy-zenhei")
Expand Down
8 changes: 4 additions & 4 deletions TeXmacs/progs/generic/document-menu.scm
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@
("SimYou" (init-env "font" "simyou")))
(if (font-exists-in-tt? "ukai")
("UKai" (init-env "font" "ukai")))
(if (font-exists-in-tt? "unbatang")
("Unbatang" (init-env "font" "unbatang")))
(if (font-exists-in-tt? "UnBatang")
("UnBatang" (init-env "font" "unbatang")))
(if (font-exists-in-tt? "uming")
("UMing" (init-env "font" "uming")))
(if (font-exists-in-tt? "wqy-zenhei")
Expand Down Expand Up @@ -357,8 +357,8 @@
("Batang" (init-font "batang")))
(if (font-exists-in-tt? "Gulim")
("Gulim" (init-font "gulim")))
(if (font-exists-in-tt? "unbatang")
("Unbatang" (init-font "unbatang"))))
(if (font-exists-in-tt? "UnBatang")
("UnBatang" (init-font "unbatang"))))

(menu-bind document-short-font-menu
("Default" (init-default-font))
Expand Down
1 change: 0 additions & 1 deletion src/Graphics/Fonts/font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ default_korean_font_name () {
if (tt_font_exists ("batang")) return "Batang";
#endif

if (tt_font_exists ("unbatang")) return "UnBatang";
if (tt_font_exists ("UnBatang")) return "UnBatang";
if (tt_font_exists ("Gulim")) return "gulim";
return "roman";
Expand Down

0 comments on commit ef6749e

Please sign in to comment.