tsoding / ded

Dramatic EDitor
MIT License
570 stars 76 forks source link

dollar signs are rendered... interestingly... #83

Open kwyntes opened 1 year ago

kwyntes commented 1 year ago

Not sure what's happening here. Haven't found any other character yet that renders like this.

image

BillKek commented 1 year ago

Is it from Windows version? I have absolute same on Windows version based on MSYS libs. Probably it is Freetype artifact.

blackneeed commented 6 months ago

Exactly the same on WSL

designerfuzzi commented 6 months ago

here some possible reasons: the font uses "components" to build the glyph therefore freetype might not make a boolean union before rendering cause font components are meant to stay apart to keep font sizes small. Or the kerning of those components is not taken into account math wise. Or the glyph does not .... easier to explain in a video. See yourself

https://github.com/tsoding/ded/assets/1221499/254661cf-c1dc-422a-beaf-fb51c0af662e