Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Γ has different height on Windows Notepad #122

Open
nandoconde opened this issue Dec 26, 2021 · 6 comments
Open

Γ has different height on Windows Notepad #122

nandoconde opened this issue Dec 26, 2021 · 6 comments
Labels
bug Something isn't working need more info not sure what needs to be done to fix this

Comments

@nandoconde
Copy link

nandoconde commented Dec 26, 2021

(from Discourse)

Problem

I know it is difficult to investigate, but \Gamma has different height on Windows Notepad (size 11).

This is best seen when compared to the capital t, T, since they both have the same height on Julia Terminal or VS Code. I can provide images again if they are of any help. I can also try more glyphs.

Thanks again!

Side info

JuliaMono
I don't know how to check my version, but I'd swear it is the latest.

Julia
I have the latest Julia (v1.7.1)

OS
I'm on Windows 10 Pro 21H2.

Tools
Latest VS Code.

@cormullion
Copy link
Owner

cormullion commented Dec 28, 2021

It's certainly a mystery.

This text (from here):

  "Uppercase letters" =>
   raw"""
   regular  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
   \sans    𝖠 𝖡 𝖢 𝖣 𝖤 𝖥 𝖦 𝖧 𝖨 𝖩 𝖪 𝖫 𝖬 𝖭 𝖮 𝖯 𝖰 𝖱 𝖲 𝖳 𝖴 𝖵 𝖶 𝖷 𝖸 𝖹
   \tt      𝙰 𝙱 𝙲 𝙳 𝙴 𝙵 𝙶 𝙷 𝙸 𝙹 𝙺 𝙻 𝙼 𝙽 𝙾 𝙿 𝚀 𝚁 𝚂 𝚃 𝚄 𝚅 𝚆 𝚇 𝚈 𝚉
   \it      𝐴 𝐵 𝐶 𝐷 𝐸 𝐹 𝐺 𝐻 𝐼 𝐽 𝐾 𝐿 𝑀 𝑁 𝑂 𝑃 𝑄 𝑅 𝑆 𝑇 𝑈 𝑉 𝑊 𝑋 𝑌 𝑍
   \isans   𝘈 𝘉 𝘊 𝘋 𝘌 𝘍 𝘎 𝘏 𝘐 𝘑 𝘒 𝘓 𝘔 𝘕 𝘖 𝘗 𝘘 𝘙 𝘚 𝘛 𝘜 𝘝 𝘞 𝘟 𝘠 𝘡
   \scr     𝒜 ℬ 𝒞 𝒟 ℰ ℱ 𝒢 ℋ ℐ 𝒥 𝒦 ℒ ℳ 𝒩 𝒪 𝒫 𝒬 ℛ 𝒮 𝒯 𝒰 𝒱 𝒲 𝒳 𝒴 𝒵
   \bf      𝐀 𝐁 𝐂 𝐃 𝐄 𝐅 𝐆 𝐇 𝐈 𝐉 𝐊 𝐋 𝐌 𝐍 𝐎 𝐏 𝐐 𝐑 𝐒 𝐓 𝐔 𝐕 𝐖 𝐗 𝐘 𝐙
   \bsans   𝗔 𝗕 𝗖 𝗗 𝗘 𝗙 𝗚 𝗛 𝗜 𝗝 𝗞 𝗟 𝗠 𝗡 𝗢 𝗣 𝗤 𝗥 𝗦 𝗧 𝗨 𝗩 𝗪 𝗫 𝗬 𝗭
   \bi      𝑨 𝑩 𝑪 𝑫 𝑬 𝑭 𝑮 𝑯 𝑰 𝑱 𝑲 𝑳 𝑴 𝑵 𝑶 𝑷 𝑸 𝑹 𝑺 𝑻 𝑼 𝑽 𝑾 𝑿 𝒀 𝒁
   \bisans  𝘼 𝘽 𝘾 𝘿 𝙀 𝙁 𝙂 𝙃 𝙄 𝙅 𝙆 𝙇 𝙈 𝙉 𝙊 𝙋 𝙌 𝙍 𝙎 𝙏 𝙐 𝙑 𝙒 𝙓 𝙔 𝙕
   \bscr    𝓐 𝓑 𝓒 𝓓 𝓔 𝓕 𝓖 𝓗 𝓘 𝓙 𝓚 𝓛 𝓜 𝓝 𝓞 𝓟 𝓠 𝓡 𝓢 𝓣 𝓤 𝓥 𝓦 𝓧 𝓨 𝓩
   \bb      𝔸 𝔹 ℂ 𝔻 𝔼 𝔽 𝔾 ℍ 𝕀 𝕁 𝕂 𝕃 𝕄 ℕ 𝕆 ℙ ℚ ℝ 𝕊 𝕋 𝕌 𝕍 𝕎 𝕏 𝕐 ℤ
   \frak    𝔄 𝔅 ℭ 𝔇 𝔈 𝔉 𝔊 ℌ ℑ 𝔍 𝔎 𝔏 𝔐 𝔑 𝔒 𝔓 𝔔 ℜ 𝔖 𝔗 𝔘 𝔙 𝔚 𝔛 𝔜 ℨ
   \bfrak   𝕬 𝕭 𝕮 𝕯 𝕰 𝕱 𝕲 𝕳 𝕴 𝕵 𝕶 𝕷 𝕸 𝕹 𝕺 𝕻 𝕼 𝕽 𝕾 𝕿 𝖀 𝖁 𝖂 𝖃 𝖄 𝖅
   """

   "Greek letters" =>
   raw"""
   regular α β γ δ ϵ ε ζ η θ ϑ ι κ ϰ λ μ ν ξ ο π ϖ ρ ϱ σ ς τ υ ϕ φ χ ψ ω ϝ ∂ ∇
   \it     𝛼 𝛽 𝛾 𝛿 𝜖 𝜀 𝜁 𝜂 𝜃 𝜗 𝜄 𝜅 𝜘 𝜆 𝜇 𝜈 𝜉 𝜊 𝜋 𝜛 𝜌 𝜚 𝜎 𝜍 𝜏 𝜐 𝜙 𝜑 𝜒 𝜓 𝜔   𝜕 𝛻
   \bf     𝛂 𝛃 𝛄 𝛅 𝛜 𝛆 𝛇 𝛈 𝛉 𝛝 𝛊 𝛋 𝛞 𝛌 𝛍 𝛎 𝛏 𝛐 𝛑 𝛡 𝛒 𝛠 𝛔 𝛓 𝛕 𝛖 𝛟 𝛗 𝛘 𝛙 𝛚 𝟋 𝛛 𝛁
   \bsans  𝝰 𝝱 𝝲 𝝳 𝞊 𝝴 𝝵 𝝶 𝝷 𝞋 𝝸 𝝹 𝞌 𝝺 𝝻 𝝼 𝝽 𝝾 𝝿 𝞏 𝞀 𝞎 𝞂 𝞁 𝞃 𝞄 𝞍 𝞅 𝞆 𝞇 𝞈   𝞉 𝝯
   \bi     𝜶 𝜷 𝜸 𝜹 𝝐 𝜺 𝜻 𝜼 𝜽 𝝑 𝜾 𝜿 𝝒 𝝀 𝝁 𝝂 𝝃 𝝄 𝝅 𝝕 𝝆 𝝔 𝝈 𝝇 𝝉 𝝊 𝝓 𝝋 𝝌 𝝍 𝝎   𝝏 𝜵
   \bisans 𝞪 𝞫 𝞬 𝞭 𝟄 𝞮 𝞯 𝞰 𝞱 𝟅 𝞲 𝞳 𝟆 𝞴 𝞵 𝞶 𝞷 𝞸 𝞹 𝟉 𝞺 𝟈 𝞼 𝞻 𝞽 𝞾 𝟇 𝞿 𝟀 𝟁 𝟂   𝟃 𝞩
   \bb         ℽ                               ℼ
   regular Α Β Γ Δ Ε   Ζ Η Θ ϴ Ι Κ   Λ Μ Ν Ξ Ο Π   Ρ   Σ   Τ Υ Φ   Χ Ψ Ω Ϝ
   \it     𝛢 𝛣 𝛤 𝛥 𝛦   𝛧 𝛨 𝛩 𝛳 𝛪 𝛫   𝛬 𝛭 𝛮 𝛯 𝛰 𝛱   𝛲   𝛴   𝛵 𝛶 𝛷   𝛸 𝛹 𝛺
   \bf     𝚨 𝚩 𝚪 𝚫 𝚬   𝚭 𝚮 𝚯 𝚹 𝚰 𝚱   𝚲 𝚳 𝚴 𝚵 𝚶 𝚷   𝚸   𝚺   𝚻 𝚼 𝚽   𝚾 𝚿 𝛀 𝟊
   \bsans  𝝖 𝝗 𝝘 𝝙 𝝚   𝝛 𝝜 𝝝 𝝧 𝝞 𝝟   𝝠 𝝡 𝝢 𝝣 𝝤 𝝥   𝝦   𝝨   𝝩 𝝪 𝝫   𝝬 𝝭 𝝮
   \bi     𝜜 𝜝 𝜞 𝜟 𝜠   𝜡 𝜢 𝜣 𝜭 𝜤 𝜥   𝜦 𝜧 𝜨 𝜩 𝜪 𝜫   𝜬   𝜮   𝜯 𝜰 𝜱   𝜲 𝜳 𝜴
   \bisans 𝞐 𝞑 𝞒 𝞓 𝞔   𝞕 𝞖 𝞗 𝞡 𝞘 𝞙   𝞚 𝞛 𝞜 𝞝 𝞞 𝞟   𝞠   𝞢   𝞣 𝞤 𝞥   𝞦 𝞧 𝞨
   \bb         ℾ                               ℿ
   """

shows like this in a Windows Notepad I was able to find:

Screenshot 2021-12-28 at 16 25 12

and like this on my Mac:

Screenshot 2021-12-28 at 17 05 21

The rendering in Notepad isn't too bad (some of the \bb glyphs are the oddest) but I can't see any evidence of dramatically different dimensions.

I'll leave this open until more clues emerge!

@cormullion cormullion added the need more info not sure what needs to be done to fix this label Dec 28, 2021
@nandoconde
Copy link
Author

Thanks!! The future shall tell :)

@cormullion cormullion added the bug Something isn't working label Dec 30, 2021
@pfitzseb
Copy link

Seems safe to chalk this up to Notepad's font rendering being broken.

Font size 10:
image

Font size 11:
image

Font size 12:
image

@cormullion
Copy link
Owner

Thanks for doing this... I think it must be that.

I just haven't got the skill, energy, or time to do manual hinting for the font, and the automatic hinting does odd things sometimes. And it makes me unhappy seeing the outlines mangled by OS font-rendering - it's like looking in a really unflattering mirror... :)

@nandoconde
Copy link
Author

But don't worry! Except for that, everything works fine in JuliaFont and it's awesome!

Maybe one day a person with the skill, enegy and time will be able to look into this 😉

Copy link

github-actions bot commented Dec 8, 2023

This issue has been open for 30 days with no activity.

@github-actions github-actions bot added stale and removed stale labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info not sure what needs to be done to fix this
Projects
None yet
Development

No branches or pull requests

3 participants