Hi,

Yesterday, i started to work on OOo, here are the results :

- i could use "dbg_dump()" in gdb to ease reading of OUString (thanks Pavel !) Ericb asked me to add that on the wiki : http://wiki.services.openoffice.org/wiki/Debugging#Examining_strings

the idea is to put the functions "dbg_dump()" into the code you're working on : in my case, they're in "salnativewidgets.cxx"
Otherwise, they're not included in libuno_salxxx

- I worked on issue 73688 "use default system font instead of helvetica in aqua" in 'vcl/source/gdi/fontcfg.cxx:266', there is 'DefaultFontConfiguration::getDefaultFont()'

This is the place where fonts are dispatched for every use.
If we add ' aRet = OUString::createFromAscii("Courier;") + aRet;' at line 276, we'll have :

http://michel.renon.free.fr/OpenOffice/2007_02_10/test_courier_1.png
http://michel.renon.free.fr/OpenOffice/2007_02_10/test_courier_2.png
http://michel.renon.free.fr/OpenOffice/2007_02_10/test_courier_3.png

The idea is to return a list of available fonts, the first has the highest priority and so on...

If we change 'Courier' with 'Andale mono', we'll have :
http://michel.renon.free.fr/OpenOffice/2007_02_10/test_andale_1.png
http://michel.renon.free.fr/OpenOffice/2007_02_10/test_andale_2.png

This bring others issues :
1 - most fonts loose their 'regular' part, only remains 'Bold', 'italic' and others... I traced 'vcl/aqua/source/gdi/salfontutils.cxx GetMacFontList()' and we see all regular fonts, they're lost after... And in the calling chain, i (quickly) saw no code that remove element in that font list...

2 - there is a different naming scheme for fonts in MacOS and OpenOffice default Andale's name in OpenOffice is 'Andale Sans UI' and in Mac OS it's 'Andale mono' Maybe this is what prevent the correct loading of default font via 'macosxrc.txt' ?...

3 - something related to controls : i saw that when the mouse is just above a control, that control changes (a shadow or becomes darker). In MacOSX UI guidelines, i never saw that kind of behavior. The only change occurs when the user presses the control : it's a ui feedback in response to an action. But it's not the priority at that time...


Hope this helps.

I'll unavailable till thursday, because of my job.

Bye,

Michel Renon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to