Cedric Vandenbergh
2004-09-22 14:03:08 UTC
Hi all,
I am trying to get ViewML up and running but have run into
some difficulties.
For some reason, db_getDefaultDB() is returning garbage and
as a result the db_openDB() call fails. I have added a check
to ensure I don't dereference a null pointer in nxslider.cpp.
[What is the correct fix for this? I assume something is not
set correctly in the config. I have exported PARDB correctly,
but no joy. - not a major issue, but irritating.]
The other issue is that ViewML appears to be completely
ignoring the FACE="times" or SIZE="" tags in the sample HTML
document I have prepared.
The below is the output produced when I set MARTINSDEBUG to 1
in html.h. Why does it insist on using System? When I run the
various font demos that come with MicroWindows these all work
fine (I have checked to see that times and arial are in the
freetype 1 directory).
Any suggestions as to what is causing this?
Oh yes, pixil 1.2.3, MicroWindows 0.90. PPC405 based system.
Thanks,
Cedric
--- cut here ---
# ./viewml http://192.168.0.203/~rcmav
Main window: 0x10141950
resize_notify of 0 0 640 480
freetype_createfont: System,14 not found
t1lib_createfont: System,14 not found
resize_notify of 3 16 640 480
got charset qtCharset=0
Setting charset to:
Original font: face: times qtCharset: 2147482496
Changed font: face: times qtCharset: 2147482496
Got font: 0x1014a420
Got font: face: times qtCharset: 2147482496
painter: 0x10158ed8
Font stack top: 0x1014a420
Timer event
Killing timer
Has more tokens?
Storing font info
Setting font
Getting height
Parsing body height
freetype_createfont: System,18 not found
t1lib_createfont: System,18 not found
Restoring font
Synchronizing painter's background
Parsin is over?
Yes
Parsing done
--- cut here ---
I am trying to get ViewML up and running but have run into
some difficulties.
For some reason, db_getDefaultDB() is returning garbage and
as a result the db_openDB() call fails. I have added a check
to ensure I don't dereference a null pointer in nxslider.cpp.
[What is the correct fix for this? I assume something is not
set correctly in the config. I have exported PARDB correctly,
but no joy. - not a major issue, but irritating.]
The other issue is that ViewML appears to be completely
ignoring the FACE="times" or SIZE="" tags in the sample HTML
document I have prepared.
The below is the output produced when I set MARTINSDEBUG to 1
in html.h. Why does it insist on using System? When I run the
various font demos that come with MicroWindows these all work
fine (I have checked to see that times and arial are in the
freetype 1 directory).
Any suggestions as to what is causing this?
Oh yes, pixil 1.2.3, MicroWindows 0.90. PPC405 based system.
Thanks,
Cedric
--- cut here ---
# ./viewml http://192.168.0.203/~rcmav
Main window: 0x10141950
resize_notify of 0 0 640 480
freetype_createfont: System,14 not found
t1lib_createfont: System,14 not found
resize_notify of 3 16 640 480
got charset qtCharset=0
Setting charset to:
Original font: face: times qtCharset: 2147482496
Changed font: face: times qtCharset: 2147482496
Got font: 0x1014a420
Got font: face: times qtCharset: 2147482496
painter: 0x10158ed8
Font stack top: 0x1014a420
Timer event
Killing timer
Has more tokens?
Storing font info
Setting font
Getting height
Parsing body height
freetype_createfont: System,18 not found
t1lib_createfont: System,18 not found
Restoring font
Synchronizing painter's background
Parsin is over?
Yes
Parsing done
--- cut here ---