Code Monkey home page Code Monkey logo

juisee's People

Contributors

yuru7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

juisee's Issues

CJK部分の「卍 U+534D」が半角幅になっている

個人的にやりたいことがあってエディタで漢字の一覧のようなものを表示させていると,「卍」の文字が半角幅になっていました。

Screenshot from 2024-06-18 21-38-46

こちらで色々調べてみるため,ソースフォルダ内のJuliaMonoフォントをFontForgeで開いてみると,
どうもJuliaMonoフォントのCJK部分の「卍 U+534D」にグリフ情報があり,これが影響を与えているようです。

Screenshot from 2024-06-18 21-13-33

合成スクリプトを確認したところ,あらかじめJuliaMonoフォント内の「卍」グリフを削除しておくことで対策できそうな気がします。

--- fontforge_script.py~
+++ fontforge_script.py
@@ -210,6 +210,8 @@
     clear_glyph_range(dst_font, 0x30FB, 0x30FB)
     # WAVE DASH, FULLWIDTH TILDE
     src_font = copy_altuni(src_font, (0x301C,))
+    # 卍 U+534D
+    clear_glyph_range(dst_font, 0x534D, 0x534D)

     return src_font, dst_font

こちらの手持ちの環境では上の変更でビルドすると,「卍」がLine Seed JP由来のフォントに変わることを確認しました。

WindowsのEmacsで日本語フォント部分が認識されない

主にLinux上のEmacsエディタでJulia言語を使っているものです。
今まではUDEV Gothicを使っていましたが,最近Jusieeフォントに変更して使っています。

そこで,Windows上のEmacsでも使ってみようということで,設定してみると日本語のフォントがうまく認識しないようでした。
example-windows-emacs-display

よくよく調べてみると,Windows上のEmacsはJusieeフォントを韓国語のフォントとして認識しているためではないかという疑念を持ちました。
次の画面はGUIのフォント選択画面を表示したものです。
Juisee-windows-font-selector

次に,LINESeedJPとJuiseeフォントのOS/2の文字セット情報をFontForgeで表示したものです。
これを見ると,LINESeedJPではCJKの中ではcodepage 932で日本語となっているのが,Jusieeでは韓国語のcodepageになっているようです。Pythonのソースを見ると特に変更していないので,意図せず変わっているのだと思われます。
lineseedjp-os2

juisee-os2
今のところwindowsのEmacsでしか不都合がない(VSCodeでは問題無さそう)ので,強い要望ということでもない(これまで通りUDEV Gothicを利用予定)のですが,もし可能であれば対応をお願いできたらと思います。

フォントファミリー名の余分なスペース

バリエーションオプション無しの場合、フォントファミリー名の末尾に余分なスペースが入っていそうです。

PS C:\> [System.Drawing.FontFamily]::Families | Select-String "Juisee"

[FontFamily: Name=Juisee ]
[FontFamily: Name=Juisee HW]

そのため VS Code などではスペース付きで指定する必要がありました。

image

使用しているバージョンは v0.0.4 です。

notepad.exeで文字の幅の比が崩れる

notepad.exe で Releases v0.0.3 の juisee を指定した時に文字の幅の比が崩れます。

また --half-width を指定して自分でビルドしたものも同様に崩れます。

vscode や Windows Terminal では問題なく動作します。

Screenshots

notepad.exe で juisee を指定した時の様子

image

OS

Windows 10 22H2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.