Bug 14496 - Separate fonts for different languages
Summary: Separate fonts for different languages
Status: RESOLVED DUPLICATE of bug 39185
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: SVN
Platform: unspecified Other
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-03 12:03 UTC by Vadim Plessky
Modified: 2011-07-25 15:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Plessky 2000-11-03 14:53:35 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: Konqueror
Version: 2.0
Severity: wishlist

I would like to make suggestion to organize Font settings in Konqueror 
(KHTML) by Encoding 
(and remain previous Font settings as Global/Default)
I found that implementation like in Mozilla (or even old Netscape) is very 
useful.
Netscape:
---------
Encoding: <   >
Variable width font:  <   >
Fixed width font: <   > 
Mozilla:
------------------
Fonts for: <Western> Cyrillic etc.
Variable width fonts:
   Serif<   >
   Sans-Serif<   >
default type:  [x] Serif   [ ] SansSerif
Fixed-width fonts:
   Monospace  <   >
------------------

I frequaently switch between sites with different encodings and some fonts 
which are suitable for Latin (ISO-8859-1) encoding are very bad for Cyrillic 
(or don't have Cyrillic glyphs at all)
This feature will be very useful for countries with different alphabets and 
simultaneously-used different encodings (like koi-8r CP1251 UTF-8).
  
-- 
Vadim Plessky
http://kde2.newmail.ru  (English)
http://kde2.newmail.ru/index_rus.html  (Russian)
Comment 1 Dotan Cohen 2007-12-23 18:09:58 UTC
To clarify, it seems that the OP wants each differently encoded bit of text to appear in a different font. I think that the OP is confusing encodings with languages. So far as I know, a webpage can only contain one encoding for the entire document, specified in the page response header like so:
Content-Type: text/html; charset=utf-8

Therefore, the bug is invalid.

However, it may be nice to have each language displayed in a different font, even if they are in the same encoding. How to implement that is beyond me.
Comment 2 Dotan Cohen 2009-01-31 11:32:11 UTC
I am updating the title to make it not Konqueror-specific.

Also, I suppose that the request could be implemented by checking the unicode codepoints for each character. Neutral characters, such as numbers, would have to either default to a specific font or could take the font of the two non-neutral characters surrounding them.

I am very much in favor of this bug as my native language has no folnt which also looks good in English, yet English has no font which good in my native language. I am currently using Microsoft's Tahoma font as a least-worse-case workaround.
Comment 3 Christoph Feck 2011-07-25 15:41:28 UTC
Is it a requirement to be able to have them per encoding or just about per script used? In the latter case, it is actually a duplicate of bug 39185.
Comment 4 Dotan Cohen 2011-07-25 15:48:25 UTC
I would say that bug #39185 is rather a dupe of this one! But as it is further developed, I'll mark this as the dupe.

Thanks for taking a look, Christoph!

*** This bug has been marked as a duplicate of bug 39185 ***