[Geomoose-users] Printing...

CoFIS web | www.cofis.info coffee at uni-bonn.de
Thu Oct 16 04:46:13 EDT 2008


Dan,
I had a look at the fonts directory and the fontset.list. I cleaned up my fontset.list to 
only contain fonts that are available in the fonts directory and checked my mapfiles for 
the font types being used - and still get the error.

Dan Little schrieb:
> What you might need to try one of the following things:
> Step 1: Figure out what font is causing the error.
Is there a logfile for the printing service, where I can have a look at. Or can I create 
one If there isn't by default?

Thanks,
Nils

> Step 2: Open the "fonts" directory in the maps directory that you are using, there is a file called fontset.list.  This file relates the name of the font in the mapfile to the file of the truetype font on the filesystem.
> Step 3: Ensure that file is, in fact, on the file system, in the fonts directory.
> Step 4: If it's not, try adding it there, or if it is else where, use an absolute path to the TTF file.
> 
> If you don't have the file, or cannot find it, let me know as I have them on my computer and can send it to you.
> 
> 
> 
> ----- Original Message ----
>> From: CoFIS web | www.cofis.info <coffee at uni-bonn.de>
>> To: Dan Little <danlittle at yahoo.com>
>> Sent: Thursday, October 9, 2008 10:33:42 AM
>> Subject: Re: [Geomoose-users] Printing...
>>
>> Dear Dan,
>> thanks for that hint.
>>
>> One note specifically for Debian Linux and php5:
>> One needs to install dbase.so separately (no dbase.so in the Debian packages) as 
>> described 
>> here:
>> http://www.mattiasgeniar.be/php/how-to-compile-and-install-php-extensions-from-source
>>
>> One having done this, I get the following error:
>>
>> Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font in 
>> /srv/www/geomoose/production/php/print.php on line 247
>>
>> Fatal error: Call to a member function saveImage() on a non-object in 
>> /srv/www/geomoose/production/php/print.php on line 250
>>
>> - no matter which version of fpdf I am using (/srv/www/geomoose/production/ 
>> corresponds to 
>> /ms4w/apps/geomoose/htdocs). I guess this has to do with some font path 
>> definition. Could 
>> you - or anyone else - please give me a hint where to start looking for the 
>> right path 
>> setting?
>>
>> Thanks,
>> Nils
>>
>>
>> Dan Little schrieb:
>>> Actually, if you open "Configuration.php" in the "php/" directory, line 25 
>> allows you to specify the location of FPDF.
>>>
>>>
>>> ----- Original Message ----
>>>> From: CoFIS web | www.cofis.info 
>>>> To: Dan Little 
>>>> Cc: Jay Kapalczynski ; 
>> "geomoose-developers at lists.sourceforge.net" 
>> ; 
>> "geomoose-users at lists.sourceforge.net" ; 
>> "Fischer, Brian" 
>>>> Sent: Thursday, October 9, 2008 7:33:13 AM
>>>> Subject: Re: [Geomoose-users] Printing...
>>>>
>>>> Dear all,
>>>> I am using Debian Linux and got fpdf installed via aptitude.
>>>>
>>>> Do I have to symlink the install location of fpdf to my geomoose/htdocs/php 
>>>> directory or 
>>>> do I have to put a completely new copy of fpdf into geomoose/htdocs/php?
>>>>
>>>> Thanks,
>>>> Nils
>>>>
>>>> Dan Little schrieb:
>>>>> Yeah, you've got to install FPDF.  And, crap, we don't have any 
>>>>> documentation for how to do it -- OF COURSE.
>>>>>
>>>>> We cannot redistribute FPDF with GeoMOOSE due to license restrictions 
>>>>> with FPDF.
>>>>>
>>>>> Here's how to fix your problem:
>>>>>
>>>>> 1) Download FPDF from http://www.fpdf.org/?go=download get the latest 
>>>>> zip file.
>>>>>
>>>>> 2) Go to /ms4w/apps/GeoMOOSE/htdocs/php
>>>>>
>>>>> 3) Create folder named FPDF
>>>>>
>>>>> 4) Extract all the files from the zip file you downloaded in step 1 into 
>>>>> the folder you just created.
>>>>>
>>>>> ----- Original Message ----
>>>>> From: Jay Kapalczynski 
>>>>> To: "geomoose-developers at lists.sourceforge.net" 
>>>>> ; 
>>>>> "geomoose-users at lists.sourceforge.net" 
>>>>> ; "Fischer, Brian" 
>>>>>
>>>>> Sent: Tuesday, October 7, 2008 1:47:50 PM
>>>>> Subject: [Geomoose-users] Printing...
>>>>>
>>>>> I was wondering if anyone knows about the printing….I am trying from out 
>>>>> of the box and I get these errors./….
>>>>>
>>>>>  
>>>>>
>>>>> Is there something I am missing?
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Geomoose-users mailing list
>>>>> Geomoose-users at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>>> -- 
>>>> Nils Zierath
>>>> CoCE-Web Administration
>>>>
>>>> Center for Development Research
>>>> Department of Ecology and Resource Management
>>>>
>>>> Walter-Flex-Strasse 3
>>>> 53113 Bonn (Germany)
>>>>
>>>> Tel.:   +49 (0) 228 - 73-1793
>>>> FAX:    +49 (0) 228 - 73-1889
>>>>
>>>> E-Mail: nzierath at uni-bonn.de
>>>>        coffee at uni-bonn.de
>>>>
>>>> Web:    http://www.coffee.uni-bonn.de
>>>>        http://www.zef.de
>>>
>>>
>>>      




More information about the Geomoose-users mailing list