« Home Page
Login    Forum    Register    Members   Search    FAQ

Board index » Technical Request




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: font pdfarm webservice
 Post Posted: 13/03/2008, 13:02 
Offline

Joined: 27/02/2008, 10:34
Posts: 2
Ho provato a settare il font "Verdana" con il seguente comando:
<font font="Verdana">Questo &grave; un test</font>
ma la frase viene sempre stampata con il "Times-roman".
Potreste indicarmi come fare.

Grazie

Luigi


Top 
 Profile  
 
 Post subject: Re: font pdfarm webservice
 Post Posted: 18/03/2008, 5:10 
Offline
Amministratore

Joined: 19/02/2008, 5:02
Posts: 3
Luigi20 wrote:
Ho provato a settare il font "Verdana" con il seguente comando:
<font font="Verdana">Questo &grave; un test</font>
ma la frase viene sempre stampata con il "Times-roman".
Potreste indicarmi come fare.

Grazie

Luigi


Ciao Luigi,
PDFarm integra al suo interno 4 fonts: Times new Roman, Helvetica, Currier New e Symbol.
Se vuoi utilizzare altri fonts (Arial, Verdana, Impact, ecc...) devi definire nell'head la cartella dove PDFarm puo' trovare i tuoi fonts.

Per la versione Server è necessario indicare dove PDFarm può trovare i fonts che desideri utilizzare (i fonts di sistema nei sistemi Unix-like solitamente si trovano in /usr/share/fonts/, nei sistemi Windows solitamente si trovano in c:/windows/fonts/).

La versione Web Service, essendo installata su un server linux, necessita appunto la definizione della cartella appropriata. Ti riporto la parte di codice che devi aggiungere nel tuo documento presa dall'esempio che puoi trovare qui: http://www.pdfarm.net/phtml_viewer.php?phtml=font.phtml.xml

Code:
        <head>
      <!-- load system font, this line is for PDFarm Server Edition in
           Win 32
      <set key="fontdir" value="c:/windows/fonts/" />
      -->
      
      <!-- load system font, this line is for PDFarm Server Edition in
           Unix-Linux or for PDFarm Web Service Edition
      -->
      <set key="fontdir" value="/usr/share/fonts/" />
   </head>


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2 posts ] 

Board index » Technical Request


Who is online

Users browsing this forum: No registered users and 0 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron