X
Tap here to go to the mobile version of the site.

Support Forum

Font Enworsening

Posted

I hate the Firefox's copyrighted proprietary stupid feature bug, which is officially called "Font Enworsening". It involves ruining the beauty of fonts, with modifying.

Many font modifications are made by Firefox, and in some fonts such as Custom Font, they are even illegal. These include: 1. changing the font height, causing incorrect font ratio and gaps in selection 2. changing the space width, ruining the monospace beauty 3. rendering characters high or low in small size when HTML superscript or subscript is used 4. inconsistent character squishing in PDF files, ruining the monospace beauty and thickness 5. modifying the font spacing, causing incorrect font ratio 6. in case of bitmap fonts (supported on XP but not 10) the text is shifted pixel left, which may be cut off and is not synced with selection and current character guide line

What Firefox should do? (the numbers correspond to the numbers above) 1. preserve font height 2. preserve character width 3. allow customization of this and/or use the Unicode superscript/subscript font characters depending on character availability 4. preserve character width and stretch 5. preserve character width 6. preserve character phase 7. allow bitmap fonts in all Windows versions, just like Notepad does so with no problem 8. to compensate for fonts which have characters mapped to wrong characters due to 256 character limit on .fon fonts, allow a character replacement table (including superscripts/subscripts) 9. allow formatting replacement table (for example red text color instead of bold, etc.) 10. allow a size replacement table, in case a font looks ugly on some/most sizes 11. allow color customization more than ever (like grayed out text being red instead of darkened) 12. fix the bug where text and background color override doesn't work properly on high contrast, instead using your favorite color scheme regardless of settings 13. allow a "Red Detection" feature, which detects a red text color (not link color) set in webpage and allows you to choose a custom color for it 14. allow a "Magnifying Glass" feature, which allows you to see a small area without color or font overrides (with a hotkey)

I hate the Firefox's copyrighted proprietary stupid feature bug, which is officially called "Font Enworsening". It involves ruining the beauty of fonts, with modifying. Many font modifications are made by Firefox, and in some fonts such as Custom Font, they are even illegal. These include: 1. changing the font height, causing incorrect font ratio and gaps in selection 2. changing the space width, ruining the monospace beauty 3. rendering characters high or low in small size when HTML superscript or subscript is used 4. inconsistent character squishing in PDF files, ruining the monospace beauty and thickness 5. modifying the font spacing, causing incorrect font ratio 6. in case of bitmap fonts (supported on XP but not 10) the text is shifted pixel left, which may be cut off and is not synced with selection and current character guide line What Firefox should do? (the numbers correspond to the numbers above) 1. preserve font height 2. preserve character width 3. allow customization of this and/or use the Unicode superscript/subscript font characters depending on character availability 4. preserve character width and stretch 5. preserve character width 6. preserve character phase 7. allow bitmap fonts in all Windows versions, just like Notepad does so with no problem 8. to compensate for fonts which have characters mapped to wrong characters due to 256 character limit on .fon fonts, allow a character replacement table (including superscripts/subscripts) 9. allow formatting replacement table (for example red text color instead of bold, etc.) 10. allow a size replacement table, in case a font looks ugly on some/most sizes 11. allow color customization more than ever (like grayed out text being red instead of darkened) 12. fix the bug where text and background color override doesn't work properly on high contrast, instead using your favorite color scheme regardless of settings 13. allow a "Red Detection" feature, which detects a red text color (not link color) set in webpage and allows you to choose a custom color for it 14. allow a "Magnifying Glass" feature, which allows you to see a small area without color or font overrides (with a hotkey)

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 18.9.20044
  • Creative Cloud Desktop Plugin.v_3_0_0_0
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.151.2 for Mozilla browsers
  • The plugin allows you to have a better experience with Microsoft SharePoint
  • NPWLPG
  • Shockwave Flash 28.0 r0
  • 5.1.50907.0
  • Vizzed Retro Game Room Plugin
  • Enables interaction with CDF content.

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

Shadow110 1072 solutions 14836 answers

Firefox Volunteer Support can not help you. Nor will it likely be seen by someone that would act or maybe 2yrs later. This is not the place for that, this is to fix issues if Firefox is broken and people need help fixing it. That is not broken, it is something you do not like.

To submit suggestions for new or changed features, may I suggest Feedback:

Please let us know if this solved your issue or if need further assistance.

Firefox Volunteer Support can not help you. Nor will it likely be seen by someone that would act or maybe 2yrs later. This is not the place for that, this is to fix issues if Firefox is broken and people need help fixing it. That is not broken, it is something you do not like. To submit suggestions for new or changed features, may I suggest Feedback: *https://qsurvey.mozilla.com/s3/FirefoxInput/ Please let us know if this solved your issue or if need further assistance.

Question owner

This is broken, because in font selection, Firefox claims it's Arial, Consolas, etc. but it sometimes doesn't use these fonts, it uses modified versions of these fonts, which is really bad and a lie!

This is broken, because in font selection, Firefox claims it's Arial, Consolas, etc. but it sometimes doesn't use these fonts, it uses modified versions of these fonts, which is really bad and a lie!
Shadow110 1072 solutions 14836 answers
*https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use

Question owner

You're wrong. The font names Firefox displays are a lie, because of these modifications. This site did not show an option to disable these s*up*d modifications. Imagine a font called Bxuepsmt which is bitmap, monospaced, has a ratio of 1:2, has a character A that is symmetrical vertically, has a ² character and rules of it state that modifying is illegal. Modifying it will make it no longer Bxuepsmt, just like with any other font. Let's go over all the modifications Firefox makes:

Changing the font height - the font ratio is no longer 1:2, so this isn't Bxuepsmt anymore. To zoom in this issue, go here.

Changing the space width - nope, justification is not something one should listen to when it comes to browsers. The font is no longer monospaced, and the ratio of the space character is no longer 1:2 (it even changes with each line). Therefore, this font is not Bxuepsmt.

Fake superscripts/subscripts - doing this to 2 will imply modifying the ² character, making it no longer the Bxuepsmt font. Extending the font may also be considered modifying, so the safest solution is to display unavailable superscripts or subscripts as the character that is shown when the character is not in the font.

Horrible PDF font rendering - not only this modifies the color scheme, but this modifies the ratio of each character to be no longer 1:2. The resulting font is not Bxuepsmt. To zoom in this issue, go here.

Modifying the font spacing - this implies changing the ratio of each character to be no longer 1:2, so the font isn't Bxuepsmt.

Shifting the font 1 pixel left - this makes the A character no longer symmetrical, therefore the font cannot be called Bxuepsmt.

Worse, all these are illegal because the font rules stated that modifying it is illegal.

You're wrong. The font names Firefox displays are a lie, because of these modifications. This site did not show an option to disable these s*up*d modifications. Imagine a font called Bxuepsmt which is bitmap, monospaced, has a ratio of 1:2, has a character A that is symmetrical vertically, has a ² character and rules of it state that modifying is illegal. Modifying it will make it no longer Bxuepsmt, just like with any other font. Let's go over all the modifications Firefox makes: Changing the font height - the font ratio is no longer 1:2, so this isn't Bxuepsmt anymore. To zoom in this issue, go [https://support.mozilla.org/questions/1182062 here]. Changing the space width - nope, justification is not something one should listen to when it comes to browsers. The font is no longer monospaced, and the ratio of the space character is no longer 1:2 (it even changes with each line). Therefore, this font is not Bxuepsmt. Fake superscripts/subscripts - doing this to 2 will imply modifying the ² character, making it no longer the Bxuepsmt font. Extending the font may also be considered modifying, so the safest solution is to display unavailable superscripts or subscripts as the character that is shown when the character is not in the font. Horrible PDF font rendering - not only this modifies the color scheme, but this modifies the ratio of each character to be no longer 1:2. The resulting font is not Bxuepsmt. To zoom in this issue, go [https://support.mozilla.org/questions/1174466 here]. Modifying the font spacing - this implies changing the ratio of each character to be no longer 1:2, so the font isn't Bxuepsmt. Shifting the font 1 pixel left - this makes the A character no longer symmetrical, therefore the font cannot be called Bxuepsmt. Worse, all these are illegal because the font rules stated that modifying it is illegal.
Shadow110 1072 solutions 14836 answers

You persist in telling people that have no power to do anything about what you claim. Firefox Volunteer Support can do nothing about what you want please use the URL I previously posted to you and copy and paste all this into that.

Please Mark this as Solved so others can find the link also. Thank You and have a Good Holiday

You persist in telling people that have no power to do anything about what you claim. Firefox Volunteer Support can do nothing about what you want please use the URL I previously posted to you and copy and paste all this into that. Please Mark this as Solved so others can find the link also. Thank You and have a Good Holiday

Question owner

Pkshadow said

Please Mark this as Solved so others can find the link also.

NOPE!!!

''Pkshadow [[#answer-1054971|said]]'' <blockquote>Please Mark this as Solved so others can find the link also. </blockquote> NOPE!!!

Question owner

Test page for superscripts and subscripts: http://superscriptsubscripttest.bitballoon.com/

Test page for superscripts and subscripts: http://superscriptsubscripttest.bitballoon.com/
TyDraniu
  • Top 25 Contributor
319 solutions 1840 answers

Could you please file a bug on https://bugzilla.mozilla.org/enter_bug.cgi about this superscript/subscript issue and provide here on SUMO the bug number to let us follow it? Thanks.

Could you please file a bug on https://bugzilla.mozilla.org/enter_bug.cgi about this superscript/subscript issue and provide here on SUMO the bug number to let us follow it? Thanks.

Question owner

https://bugzilla.mozilla.org/show_bug.cgi?id=1450471
jscher2000
  • Top 10 Contributor
8761 solutions 71700 answers

Firefox 52 ESR is nearly at its end of life and not getting any functional updates. You should retest in Firefox 59 (or 60 Beta, or 61 Nightly) and update your bug with the issues affecting those versions.

Firefox 52 ESR is nearly at its end of life and not getting any functional updates. You should retest in Firefox 59 (or 60 Beta, or 61 Nightly) and update your bug with the issues affecting those versions.
jscher2000
  • Top 10 Contributor
8761 solutions 71700 answers

The attachment to the bug looks similar in the 3 browsers I tried: Firefox 59, Chrome, and IE 11 (screenshot attached). Is everyone doing it wrong, or does your Firefox display it differently?

The attachment to the bug looks similar in the 3 browsers I tried: Firefox 59, Chrome, and IE 11 (screenshot attached). Is everyone doing it wrong, or does your Firefox display it differently?

Question owner

That's how it is displayed for me. However, the current handling is messed up; superscripts and subscripts should never be done by shrinking the base characters, instead the appropriate Unicode characters should be used. If no Unicode character for the superscript or subscript is present, FFFD. Every browser and office makes this awful mistake. If I ever were to create my own browser, this would be its behavior. If I ever were to create my own font format, I would add a superscript and subscript allocation table so that the superscripts and subscripts not in Unicode may be mapped to private use characters.

That's how it is displayed for me. However, the current handling is messed up; superscripts and subscripts should never be done by shrinking the base characters, instead the appropriate Unicode characters should be used. If no Unicode character for the superscript or subscript is present, FFFD. Every browser and office makes this awful mistake. If I ever were to create my own browser, this would be its behavior. If I ever were to create my own font format, I would add a superscript and subscript allocation table so that the superscripts and subscripts not in Unicode may be mapped to private use characters.

Question owner

And the test page's non-attachment equivalent, superscriptsubscripttest.bitballoon.com, adds emojis to the mix. Please note, that font modifications, like shrinking a character and raising or lowering it, are exactly the Font Enworsening I'm talking about.

And the test page's non-attachment equivalent, superscriptsubscripttest.bitballoon.com, adds emojis to the mix. Please note, that font modifications, like shrinking a character and raising or lowering it, are exactly the Font Enworsening I'm talking about.

Question owner

Here's a "photoshopped" image of what output is as my dream:

https://i.imgur.com/OyJtE7A.png

The emojis are not existent in Custom Font, so they are rendered as boxes, which is the replacement character. And even if they existed, they would render in black and white (or yellow and black with this color scheme).

The superscripts and subscripts are not what Firefox, Chrome, Internet Explorer, Microsoft FrontPage, WordPad, Word or OpenOffice would output. Note that the shape of superscript 2 and superscript superscript 2 is squished, which is the case in Custom Font. Custom Font in the custom font format would have an allocation table mapping superscripts, subscripts and superscripts/subscripts of superscripts/subscripts to Unicode characters. The test string would map to 0032 00B2 E034 1D43 E01E 2090 E139. Note that E000 to F8FF is private use. In case of fonts that don't have an allocation table, Firefox should have its own allocation table that maps superscripts and subscripts that exist in Unicode as their Unicode code points, and all others map to FFFD.

Here's a "photoshopped" image of what output is as my dream: https://i.imgur.com/OyJtE7A.png The emojis are not existent in Custom Font, so they are rendered as boxes, which is the replacement character. And even if they existed, they would render in black and white (or yellow and black with this color scheme). The superscripts and subscripts are not what Firefox, Chrome, Internet Explorer, Microsoft FrontPage, WordPad, Word or OpenOffice would output. Note that the shape of superscript 2 and superscript superscript 2 is squished, which is the case in Custom Font. Custom Font in the custom font format would have an allocation table mapping superscripts, subscripts and superscripts/subscripts of superscripts/subscripts to Unicode characters. The test string would map to 0032 00B2 E034 1D43 E01E 2090 E139. Note that E000 to F8FF is private use. In case of fonts that don't have an allocation table, Firefox should have its own allocation table that maps superscripts and subscripts that exist in Unicode as their Unicode code points, and all others map to FFFD.
Shadow110 1072 solutions 14836 answers

PiotrGrochowski said

And the test page's non-attachment equivalent, superscriptsubscripttest.bitballoon.com, adds emojis to the mix. Please note, that font modifications, like shrinking a character and raising or lowering it, are exactly the Font Enworsening I'm talking about.

Note that Malwarebytes finds this URL as Malicious Virustotal marks as Phishing site by 1 : https://www.virustotal.com/#/url/125c2f7fc46e76f40a7b6562ca32ec9fde51bf438b802b4680bbaa6338c3ff9e/detection

''PiotrGrochowski [[#answer-1095196|said]]'' <blockquote> And the test page's non-attachment equivalent, superscriptsubscripttest.bitballoon.com, adds emojis to the mix. Please note, that font modifications, like shrinking a character and raising or lowering it, are exactly the Font Enworsening I'm talking about. </blockquote> Note that Malwarebytes finds this URL as Malicious Virustotal marks as Phishing site by 1 : https://www.virustotal.com/#/url/125c2f7fc46e76f40a7b6562ca32ec9fde51bf438b802b4680bbaa6338c3ff9e/detection

Modified by Shadow110

Question owner

Probably a false positive. Maybe caused by FFFD.

Probably a false positive. Maybe caused by FFFD.

Question owner

And I have no HTML, CSS or PDF skills to demonstrate all other types of Font Enworsening...

And I have no HTML, CSS or PDF skills to demonstrate all other types of Font Enworsening...
cor-el
  • Top 10 Contributor
  • Moderator
17530 solutions 158508 answers

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.

You can check the font used for selected text in the Font tab in the right pane of the Inspector.

Note that this is not about the font-family CSS rule, but about the font that Firefox actually uses as shown in the Font tab.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected. You can check the font used for selected text in the Font tab in the right pane of the Inspector. *https://developer.mozilla.org/en/Tools/Page_Inspector/How_to/View_fonts Note that this is not about the font-family CSS rule, but about the font that Firefox actually uses as shown in the Font tab.

Question owner

Your comment is pointless.

Your comment is pointless.