bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #45192] gtk3 / osx - histogram routine has problems when


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #45192] gtk3 / osx - histogram routine has problems when rendering text.
Date: Tue, 26 May 2015 15:18:52 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/7.1.6 Safari/537.85.15

URL:
  <http://savannah.gnu.org/bugs/?45192>

                 Summary: gtk3 / osx - histogram routine has problems when
rendering text.
                 Project: PSPP
            Submitted by: beckmanf
            Submitted on: Di 26 Mai 2015 15:18:51 GMT
                Category: Compilation/Portability
                Severity: 5 - Average
                  Status: Confirmed
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

Jeremy tried the gtk3 build on osx and some tests failed. All failing tests
use the histogram graphical output. I build on osx from git with macports and
see the same problem. For me the tests:

   Subject: [GNU PSPP 0.8.4] testsuite: 497 1019 1022 failed

failed. When I run test 497 manually several times I see the following:

friedrismacbook:0497 fritz$ ls -la
total 104
drwxr-xr-x  6 fritz  staff    204 26 Mai 16:40 .
drwxr-xr-x  5 fritz  staff    170 26 Mai 16:40 ..
-rw-r--r--  1 fritz  staff    249 26 Mai 16:40 frequencies.sps
-rw-r--r--  1 fritz  staff  38207 26 Mai 16:41 pspp.pdf
-rwxr-xr-x  1 fritz  staff    317 26 Mai 16:40 run
-rw-r--r--  1 fritz  staff    749 26 Mai 16:40 testsuite.log
friedrismacbook:0497 fritz$ ../../../src/ui/terminal/pspp -O format=pdf
frequencies.sps 

(process:17870): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

(process:17870): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineCoreText', font='Helvetica Medium',
text='-0,000000000000001\xff[\u007f\u007f'

(process:17870): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

(process:17870): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
friedrismacbook:0497 fritz$ ../../../src/ui/terminal/pspp -O format=pdf
frequencies.sps 

(process:17884): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

(process:17884): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineCoreText', font='Helvetica Medium',
text='-0,000000000000001\xff\xff\xff\u007f'
friedrismacbook:0497 fritz$ ../../../src/ui/terminal/pspp -O format=pdf
frequencies.sps 

(process:17900): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

(process:17900): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineCoreText', font='Helvetica Medium',
text='-0,000000000000001\u0005t\xff\u007f'

(process:17900): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
friedrismacbook:0497 fritz$ ls -la

So there are some strange characters appended. And the pattern changes. Maybe
this bug is related to bug #43469 which was due to implementation of cairo on
osx. The current macports has cairo 1.14.2 which includes a patch for the text
rendering on osx.

http://cgit.freedesktop.org/cairo/commit/?id=70cc8f250b5669e757b4f044571ba0f71e3dea9e

When I open the the sps file from test 1019 and reduce it to:

========

input program.
loop #i = 1 to 1000.
 compute x  = rv.normal (56, 3) + rv.uniform (1, 1).
 compute y  = rv.normal (6, 2) + rv.uniform (1, 2).
 compute A  = rv.uniform (-1, 1).
  compute A = (A > 0).
 end case.
end loop.
end file.
end input program.

examine x y
        /plot = histogram.
===================

then I see the screen as shown in the attachment. The strange characters
change when I resize the window. So I guess there is some memory issue here.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 26 Mai 2015 15:18:51 GMT  Name: histogram-on-osx.JPG  Size: 113kB  
By: beckmanf

<http://savannah.gnu.org/bugs/download.php?file_id=34099>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45192>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]