#4 Pango-CRITICAL on Windows 98

open
nobody
None
5
2012-10-08
2006-04-06
Dr. Diether Knof
No

Hello,

the sample 'hello.c' file from the tutorial gets
compiled without problems but terminates with the
following errors:
_win32_scaled_font_get_scaled_hfont: Die Funktion ist
nur im Win32-Modus g³ltig.

(HELLO.EXE:4294817321): Pango-CRITICAL :
_pango_engine_shape_shape: assertion
`PANGO_IS_FONT (font)' failed
in the DOS-Box and
Pango-ERROR
: file ../../../pango/pango/shape.c:
line 75 (pango_shape): assertion failed:
(glyphs->num_glyphs > 0)
aborting...
in an error window.

The error only arises using the 2.8 version (tested
with gtk-win32-devel-2.8.8-rc2.exe), the 2.6 version
(gtk-win32-devel-2.6.10-rc1.exe) has no problem.

I have added the Makefile (using MinGW without msys)
and the source file.

Discussion

  • Makefile (for MinGW without msys)

     
    Attachments
  • example source code

     
    Attachments