1
irmtfan
newbb2: make pdf from a post?
  • 2004/11/17 20:01

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i have some qestions about pdf maker:
1- how can i generate another font ( for example: Tahoma)
2- how can i change charset to UTF-8
also in print a post how can i change font?
regards

2
phppp
Re: newbb2: make pdf from a post?
  • 2004/11/17 20:12

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


font parameters can be set through
newbb/fpdf/language/YourLanguage.php
in NewBB 2.0 Final

In what case you need UTF-8 encoding?
it can be done using xoops_utf8_encode over $pdf_config and $pdf_data

3
irmtfan
Re: newbb2: make pdf from a post?
  • 2004/11/17 21:28

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


help me about css plz
is this correct? i want chang direction and text-align
$pdf_config['font']['content'] = array(
    
'family'=>'tahoma',
        
'text-align' =>'right' ,
        
'direction' => 'rtl' ,
    
'style'=>'',
    
'size'=>10
    
);


also for UTF-8 ( i use this charset for persian language)
what is the exact code?
where is $pdf_data ?
and about date format i want to know what function use for display date?
it seems it does not use "formatTimestamp" function as normal
am i right?
thanks for your attentions

4
irmtfan
Re: newbb2: make pdf from a post?
  • 2004/11/24 8:41

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i want make a font "Tahoma" how can i do this?
is there a document for pdf maker at the final release ? ( or maybe right now )
and about change charset to UTF-8 please halp me with code
many thanks

5
irmtfan
Re: newbb2: make pdf from a post?
  • 2004/11/28 16:37

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


just a bump

6
technews
Re: newbb2: make pdf from a post?
  • 2005/3/30 22:17

  • technews

  • Just popping in

  • Posts: 36

  • Since: 2005/3/30


have a look at tutorial 7 at fpdf.org

I managed to get a proper pdf with different encoding but it does not working within xoops

any ideas?

Login

Who's Online

160 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits