[Cartoweb-users] encoding in pdfExport

wochter wochter at seznam.cz
Mon Oct 15 09:13:31 EDT 2007


I tried it :-(
The same result with helvetica, courier, times



And disabling any layer for printing?
Is it possible please?

thanx

wochter


Oliver Christen  wrote / napísal(a):
> btw, maybe simply setting another font for fontFamily block parameter in
> the exportPdf.ini config file would solve the problem ?
> 
> regards
> Oliver
> 
>> Hi
>>
>> it seems fpdf is a bit limited with "non-standard" characters and need
>> some tweaking to reproduce these characters correctly.
>> there is some infos on the fpdf tutorial
>> http://www.fpdf.org/en/tutorial/tuto7.htm
>> somehow, simply adding a
>> $pdf->AddFont('some_font_name','',''some_font_name.php');
>> and$pdf->SetFont(''some_font_name','',35);when adding the text block
>> should solve the problem
>> but I havent yet looked exactly where in the plugin this should be done.
>>
>> I also noticed there is an utf8 extension for fpdf, but I dont know if
>> it would be difficult to use it:
>> http://acko.net/blog/ufpdf
>>
>> regards
>> Oliver
>>
>>
>> ----- Original Message ----- From: "wochter" <wochter at seznam.cz>
>> To: <cartoweb-users at lists.maptools.org>
>> Sent: Monday, October 15, 2007 2:40 PM
>> Subject: [Cartoweb-users] encoding in pdfExport
>>
>>
>>> Hi,
>>> I use Slovak language in exportPdf module.
>>> But this is bad interpreted.
>>>
>>> For example names of layers in legend
>>>  (names comes from mapfile - CLASS  NAME)
>>> or own text blocks
>>>  (strings are defined by blocks.myblock.content = "ľščťžýá")
>>>
>>> some of our characters are interpreted by "?"
>>>
>>> Is there any setting for encoding (charset) please?
>>> I use utf8 everywhere.
>>>
>>>
>>> And the second question...
>>> Is it possible to disable any layer for printing (exportPdf) ?
>>>
>>>
>>> Thank you
>>>
>>> wochter
>>>
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
> 
> 




More information about the Cartoweb-users mailing list