Bug 341790 - encoding of high unicode characters is truncated when using web fonts
Summary: encoding of high unicode characters is truncated when using web fonts
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.13.3
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 23:52 UTC by Stevan White
Modified: 2022-11-16 05:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
HTML with gothic text (2.73 KB, text/html)
2014-12-11 23:56 UTC, Stevan White
Details
Messed-up Gothic in Konqueror (61.18 KB, image/png)
2014-12-12 00:04 UTC, Stevan White
Details
Same page in Firefox (62.54 KB, image/png)
2014-12-12 00:06 UTC, Stevan White
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stevan White 2014-12-11 23:52:27 UTC
Characters from high unicode ranges, U+10000 and higher, are rendered very strangely... sometimes using characters from completly different ranges.
For example,  Gothic range (U+10330 - 4a ) is displayed as if it were coming from  Combining Diacritics: (U+0300 - 6F).  Looks like it smply truncates the higher bytes.

Other browsers on Linux render the text of the same page properly.

Reproducible: Always

Steps to Reproduce:
1. Make HTML page with (say) Gothic text, Unicode-encoded
2. Arrange for CSS of the page to load a Unicode font supporting Gothic range
3. Put these on a server, and view with Konqueror

Actual Results:  
What should be Gothic letters are replaced by Combining Diacritics -- but from that font, if it has them.  (This depends on the range of course... Runic letters would result in some other wrong range)

Expected Results:  
To see nice Gothic text
Comment 1 Stevan White 2014-12-11 23:56:55 UTC
Created attachment 89932 [details]
HTML with gothic text

You'll have to supply your own Unicode-encoded Gothic font and appropriate CSS, and then make them available from your server.

CSS will look something like:
@font-face {
        font-family: mygothfont;
        src: url("mygothfont.woff") format("woff"),
        font-weight: normal;
        font-style:  normal;
}
Comment 2 Stevan White 2014-12-12 00:04:03 UTC
Created attachment 89933 [details]
Messed-up Gothic in Konqueror
Comment 3 Stevan White 2014-12-12 00:06:37 UTC
Created attachment 89934 [details]
Same page in Firefox

 (By the way, the mess in the Konqueror page are diacritics from the same font... they just lay all on top of one another because they're zero-width.)
Comment 4 Justin Zobel 2022-10-17 00:40:45 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-01 05:05:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-16 05:16:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!