(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?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/39890

Title:
  characters change when selecting text

Status in Poppler:
  Confirmed
Status in “evince” package in Ubuntu:
  Invalid
Status in “poppler” package in Ubuntu:
  Triaged

Bug description:
  I have problems with the following pdf:
  www.lacim.uqam.ca/~plouffe/OEIS/citations/MAS-R9821.pdf

  When marking text some characters change. This happens on many places
  in this pdf-file. To reproduce the bug just mark some random places in
  the pdf. In some places the text disappears. In some the characters
  change totally. In others the italics is removed.

  I use the latest update of dapper. Evince 0.5.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to