Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Bottom of custom font getting cut off on windows devices

  • 1 trả lời
  • 0 gặp vấn đề này
  • 30 lượt xem
  • Trả lời mới nhất được viết bởi steve

more options

Hi,

Running into a strange problem with FireFox on Windows that I cannot replicate on IOS and Android devices.

I created a custom font and it seems that at 100% zoom my characters are getting chopped on the bottom. At 90% and 120% its renders correctly.

I have attached a sample screenshot with the font at 120% and the font at 100% resized so they are equal in total pixel volume to illustrate the difference.

Already looked at the following:

  • Turning off ClearType in Windows.
  • Various settings using the font-smoothing css property:

https://developer.mozilla.org/en-US/d.../font-smooth

Neither of these seem to have any effect. Because my font is meant to have an old school video game style and feel the way that it renders, trying to smooth it over has a negative effect.

I realize the fix may not be something that can be changed in FireFox itself, but if anyone who has experience with this type of issue can offer any advice or guidance it would be greatly appreciated.

You can play around with the zoom levels with my font here: https://www.stevesgames.com/about

Hi, Running into a strange problem with FireFox on Windows that I cannot replicate on IOS and Android devices. I created a custom font and it seems that at 100% zoom my characters are getting chopped on the bottom. At 90% and 120% its renders correctly. I have attached a sample screenshot with the font at 120% and the font at 100% resized so they are equal in total pixel volume to illustrate the difference. Already looked at the following: * Turning off ClearType in Windows. * Various settings using the font-smoothing css property: [https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth] Neither of these seem to have any effect. Because my font is meant to have an old school video game style and feel the way that it renders, trying to smooth it over has a negative effect. I realize the fix may not be something that can be changed in FireFox itself, but if anyone who has experience with this type of issue can offer any advice or guidance it would be greatly appreciated. You can play around with the zoom levels with my font here: [https://www.stevesgames.com/about]
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi steve vào

Giải pháp được chọn

I found the source of my issue, my font did not have Hints added for all of the characters, additionally all of my letter characters were also 14 units below the standard base line.

I do find it strange Firefox on Windows was the only combination that was manifesting the issue. Could also have something to do with my desktop resolution vs the iPad and android phone I test with.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (1)

more options

Giải pháp được chọn

I found the source of my issue, my font did not have Hints added for all of the characters, additionally all of my letter characters were also 14 units below the standard base line.

I do find it strange Firefox on Windows was the only combination that was manifesting the issue. Could also have something to do with my desktop resolution vs the iPad and android phone I test with.

Được chỉnh sửa bởi steve vào