[Poppler-bugs] [Bug 6923] characters change when selecting text
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 20 11:07:25 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=6923
--- Comment #33 from Albert Astals Cid <tsdgeos at terra.es> 2012-08-20 18:07:25 UTC ---
(In reply to comment #32)
> The difference in character width is because of this change:
>
> @@ -863,7 +839,7 @@ void TextLine::coalesce(UnicodeMap *uMap) {
> word0->spaceAfter = gTrue;
> word0 = word1;
> word1 = word1->next;
> - } else if (word0->font == word1->font &&
> + } else if (word0->font[word0->len - 1] == word1->font[0] &&
> word0->underlined == word1->underlined &&
> fabs(word0->fontSize - word1->fontSize) <
> maxWordFontSizeDelta * words->fontSize &&
>
>
> Before, the words "Fumi" and "K" were being merged. Letters "F" and "K" are
> using the font BookmanOldStyle. Letters "umi" are using ArialMT. Because of
> this font check, the words are no longer being merged, making the width of the
> i different.
I understand why they are not merged (by code not, why the code is put there),
but why the "i" has a different width that makes it overlap with the "K" when
previously didn't?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list