font size over 1000px is rendered as it is 1000px
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: pavel.kakolin, Unassigned)
Details
Attachments
(2 files)
| Reporter | ||
Comment 1•10 years ago
|
||
| Reporter | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment 5•5 years ago
|
||
(In reply to Koos from comment #4)
Is there a setting in about:config that user can change for the maximum allowed font size?
Comment 6•5 years ago
|
||
No, it's simply a compile-time constant.
Huge fonts were apparently a problem for freetype, at least, a decade or more ago. But maybe we could safely remove this limit now, or at least make it substantially larger... Mats, WDYT?
This bug is still an issue. I discovered an additional problem with it: any properties defined with font-size-dependent units that are based on, say font-size: 2000px inherit that as one would expect (e.g. margin-top: 1em). As a result, such properties become comically large compared to the text.
Mats, I don't know you, but I believe Jonathan would appreciate your input.
Comment 8•4 years ago
|
||
Well, it crashed the X server so I doubt that problem has been fixed tbh...
And we set the constant the largest constant we could make it and still avoid that bug.
Perhaps we can make it #ifdef MOZ_WIDGET_GTK for now though, and make it substantially larger on other platforms?
Updated•3 years ago
|
Description
•