On 25 Jun 2012, at 16:25, David Currie <curri...@iinet.net.au> wrote:

> had to fresh install ubuntu 12.04 + reconfigure various packages.
> Now.
> 
> static int G_usesymbols = 1;
> cMeasure(int& pPixlW, int& pPixlH,const char* pStr, Fl_Font pFont, 
> Fl_Fontsize pFontSize) {
>  fl_font(pFont, pFontSize);
>  fl_measure(pStr, pPixlW, pPixlH, G_usesymbols);
> }  // gregs function stolen from the doco
> 
> previously used to give different results for different pFontSize's
> Now all fontsizes return font 10 results.
> 
> This feels like a graphics library problem. (Ubuntu Software Centre found NO 
> FLTK - only FLUID)
> so I used Ubuntu Software Centre to install FLUID which I assume installs 
> FLTK.
> 
> I un tar'd fltk-1.3.x-r9625 as I would prefer to have this as the only 
> version.
> My test program worked before the fresh install (12.04) but now has ONLY font 
> 10.
> 
> What (graphics??) Libraries am I missing ? Is this a Ubuntu problem ?
> I suspect I must install some more standard packages. If so What ?

In general I'm a big fan of ubuntu but it is certainly true that their releases 
have been getting progressively less developer friendly such that I end up 
spending a lot of time adding dev packages to every fresh install.

If I were as smart as I pretend, I'd have made a list or even a script to 
automate that but I end up doing it by hand every time.

FWIW I think Greg did make a list and post it on his site...

Anyway sounds like you are missing (at least) the XFT and possibly Fontconfig 
dev packages.
-- 
Ian
Sent, much to my surprise, from my iPhone
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to