[GRASS-dev] Re: GUI support for TclTk 8.5

William Kyngesburye woklist at kyngchaos.com
Sun Mar 9 20:52:13 EDT 2008


Ah, it looks like --enable-xft is a new option in Tk 8.5, and is  
enabled by default.  In the working Tiger TclTk 8.5 GUI, the menu  
fonts look nice, compared to the 8.4 GUI.

So, disabled xft and now TclTk 8.5 GUI works on Leopard.  NVIZ also  
works.  NVIZ still won't run on Tiger though.

On Mar 9, 2008, at 6:01 PM, William Kyngesburye wrote:

> Some initial tests for TclTk 8.5.1 on OSX.
>
> 10.4/Tiger: the GUI runs and seems to work properly.  NVIZ won't run  
> - with Spearfish:
>
> "
> nviz elev=elevation.10m
>
> alloc: invalid block: 0x5202b4: 61 0 0
>
> [2]+ Abort trap
> "
>
> Even just "nviz --help" gives that alloc error.
>
>
> 10.5/Leopard: won't run at all.  There appears to be some problem  
> between Leopard's fontconfig/freetype and TclTk 8.5 (TclTk 8.4 works).
>
> Thread 0 Crashed:
> 0   libfontconfig.1.dylib         	0x004a620a FcConfigAddCache + 149
> 1   libfontconfig.1.dylib         	0x004a63b8 FcConfigAddDirList + 157
> 2   libfontconfig.1.dylib         	0x004a6471 FcConfigBuildFonts + 123
> 3   libfontconfig.1.dylib         	0x004b1dc0  
> FcInitLoadConfigAndFonts + 45
> 4   libfontconfig.1.dylib         	0x004b1e0c FcInit + 41
> 5   libfontconfig.1.dylib         	0x004a650a FcConfigGetCurrent + 30
> 6   libfontconfig.1.dylib         	0x004a8302  
> FcConfigSubstituteWithPat + 25
> 7   libfontconfig.1.dylib         	0x004a8a07 FcConfigSubstitute + 39
> 8   libtk8.5.dylib                	0x001c3613 InitFont + 72
> ...
>
> (This is 32bit mode.  In 64bit mode it made it into freetype before  
> crashing.)
>
> Unfortunately, I think tcltk/X11 on OSX is forced to used the X11  
> freetype/fontconfig build, instead of the one I configure for GRASS  
> (my freetype framework).
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> Theory of the Universe
>
> There is a theory which states that if ever anyone discovers exactly  
> what the universe is for and why it is here, it will instantly  
> disappear and be replaced by something even more bizarrely  
> inexplicable.  There is another theory which states that this has  
> already happened.
>
> -Hitchhiker's Guide to the Galaxy 2nd season intro
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy




More information about the grass-dev mailing list