From: SourceForge.net <no...@so...> - 2012-01-17 12:52:26
|
Bugs item #3474534, was opened at 2012-01-16 12:36 Message generated for change (Settings changed) made by mf3 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3474534&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: Fixed Priority: 5 Private: No Submitted By: mf3 (mf3) Assigned to: mf3 (mf3) Summary: Wrong / No characters shown from auxiliary fonts Initial Comment: Assume, auxiliary fonts are switched on. 1) In a sequence of characters, if one of the characters cannot be shown with the main font and the system switches to a lower-quality auxiliary font, the subsequent characters are also shown with the lower quality font. 2) Characters of higher planes (>0xFFF) are only shown for the main font, not for auxiliary fonts. I found, that both errors are in Chunk.layoutGlyphs. There is a concept "Draw as much as you can [with current font]", responsible for Bug 1). A char[] array is responsible for bug 2). One should assign the correct font character by character (perhaps with this BreakIterator class...) To reproduce 1) I tested with normal main font (Monospaced) and preferred fonts: Code2000, Code2001 (code2000.sourceforge.net) and unifont (unifoundry.com/unifont.html). I charactermap, private use area, various letters from code 2000 can be seen, the missing characters are marked with a unifont symbol. If I insert only one of these symbols, all subsequent characters inserted from Private use area show this same symbol. To reproduce 2) If I insert e.g. a character from block "Phaistos Disc" \uD800 \uDD00, I just see two placeholders. If I switch the main font to Code2001, I can see the symbol, a little man. ---------------------------------------------------------------------- Comment By: mf3 (mf3) Date: 2012-01-17 04:30 Message: I fixed it completely on the Patch tracker # 3474765. Auxiliary fonts, low and high unicode planes, should show correctly in text area now. ---------------------------------------------------------------------- Comment By: mf3 (mf3) Date: 2012-01-17 00:05 Message: I fixed Bug 1; it is on the patch tracker, # 3474765 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3474534&group_id=588 |