[Bug 1051083] New: Huge text rendered incorrectly

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 9 16:34:56 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1051083

            Bug ID: 1051083
           Summary: Huge text rendered incorrectly
           Product: Fedora
           Version: 20
         Component: pango
          Severity: low
          Priority: low
          Assignee: tagoh at redhat.com
          Reporter: amahdal at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: fonts-bugs at lists.fedoraproject.org,
                    i18n-bugs at lists.fedoraproject.org, tagoh at redhat.com



Created attachment 847731
  --> https://bugzilla.redhat.com/attachment.cgi?id=847731&action=edit
incorrect rendering (500K, all visible characters affected)

Description of problem:

When I open this (quite strange, I admit) file:
*  ASCII plain text
*  only dollar signs (no whitespace whatsoever, reproduces with other chars as
well)
*  large number of them (over 320K in my case)

in Mousepad, which uses pango, rendering issues appear.  Specifically,
characters appear doubled, with these "ghosts" being few pixels offset.

I have tested this on Fedora 20 with Mousepad and Leafpad, both being
simplistic GUI plain text editors and both using Pango.  Hence I'm reporting
this to Pango.


Version-Release number of selected component (if applicable):

pango-1.36.1-1.fc20.x86_64
mousepad-0.3.0-3.fc20.x86_64
leafpad-0.8.18.1-10.fc20.x86_64


How reproducible:

always - with specifically prepared (abnormal) file


Steps to Reproduce:

1. Let N be a large number, 500 thousand or so (see below) 
2. Create a plain text file comprised of N identical non-whitespace characters
3. Open the file in Mousepad or Leafpad


Actual results:

Characters are rendered incorrectly, some/all glyphs have a "ghost" with small
offset


Expected results:
Characters should be displayed normally.


Additional info:

Exploring the exact border (N) where the problem appears:

*   with 322,639 characters, the text still looks OK
*   with 322,640 characters, first character has this "ghost"
*   with 322,641 characters, first *two* characters have this "ghost"
*   ...etc.

I have also quick-tested this with other characters like "a", and the same
problem appears.  I haven't tested with mixed files or with whitespace, though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=brhs6Z16t4&a=cc_unsubscribe


More information about the fonts-bugs mailing list