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

New version doubled the line height [.otb file types] #126

Open
im-n1 opened this issue May 17, 2024 · 12 comments
Open

New version doubled the line height [.otb file types] #126

im-n1 opened this issue May 17, 2024 · 12 comments
Labels
bug CozetteBitmap CozetteBitmap problems help wanted I have no idea how to fix this rendering

Comments

@im-n1
Copy link

im-n1 commented May 17, 2024

I just installed latest 1.24.1 version and the line height is ~ double size.

Before update:
image

After update:
image

Was this change intentional or it's just a bug?

@slavfox slavfox added bug CozetteBitmap CozetteBitmap problems labels May 17, 2024
@slavfox
Copy link
Owner

slavfox commented May 17, 2024

It's a bug, I'll have to figure out why this is happening - it shouldn't, none of the line height metrics have changed in ages. I think it's, as usual with bugs like these, some weird gremlin in the build toolchain.

Very nice dashboard, by the way.

@im-n1
Copy link
Author

im-n1 commented May 23, 2024

@slavfox I see. I was ablet to fix it on some places but I cannot go thru all the places and fix that (too many uses too little time).

Thanks - feel tree to copycat/star that here https://gitlab.com/imn1/startpage

@im-n1
Copy link
Author

im-n1 commented Aug 13, 2024

@slavfox is there anything I can help you with to resolve this issue? Like I'm no font expert but maybe I can help somehow to resolve this.

@slavfox
Copy link
Owner

slavfox commented Aug 13, 2024

I have no clue why this is happening - bitmap font rendering is deeply nonstandard, and nothing related to line-height in Cozette itself has changed. I also cannot reproduce this on my end. It would help immensely if you let me know the last version with the correct line height and the first version with a line height that doesn't work, and which format you're using.

@im-n1
Copy link
Author

im-n1 commented Aug 29, 2024

@slavfox I just tired to walk thru latest releases and 1.22.2 is the last version that doesn't contain this bug. I use cozette.otp and CozetteVector.ttf files in my system. Hope it helps.

@im-n1
Copy link
Author

im-n1 commented Dec 6, 2024

I have an update:

The Hi DPI version is ok in the latest version unlike the bitmap version where the issue still occurs.

@im-n1
Copy link
Author

im-n1 commented Dec 10, 2024

@slavfox can I provide you any other info to advance with this issue?

@slavfox
Copy link
Owner

slavfox commented Dec 11, 2024

I have no idea how to even tackle this, honestly. I cannot reproduce this, and the font metrics have not changed between 1.22.2 and 1.23.0.

@im-n1
Copy link
Author

im-n1 commented Dec 11, 2024

@slavfox damn .... since I can reproduce this, is there any approach I can take? Like to help you to debug this? I'm willing to participate in this 100%

@im-n1
Copy link
Author

im-n1 commented Dec 14, 2024

I have a new info:

On this site I see this weird stuff:
image

Once I zoom in and Fifefox changes the font I see this:
image

If I downgrade to 1.22.2 I see this:
image

That means that there is (maybe another) bug with crossed-out letters.

@im-n1
Copy link
Author

im-n1 commented Jan 1, 2025

I just tried the new 1.26.0 and the issue still persists. But I did try to use .bdf file instead of .otb and the issue is gone. Therefore I updated the issue title.

So the solution for any folks that experience the same issue the temporary soulution is to use .bdf files.

@im-n1 im-n1 changed the title New version doubled the line height New version doubled the line height [.otb file types] Jan 1, 2025
@slavfox slavfox added help wanted I have no idea how to fix this rendering labels Jan 1, 2025
@im-n1
Copy link
Author

im-n1 commented Jan 18, 2025

Another update: the weird "bold" strikethrough occurs only in bold font weight cases (in CSS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CozetteBitmap CozetteBitmap problems help wanted I have no idea how to fix this rendering
Projects
None yet
Development

No branches or pull requests

2 participants