New Forum | Previous | Next | (P-PDF) Beginners
Topic: Using different fonts in one line
Conf: (P-PDF) Beginners, Msg: 171374
Date: 9/6/2009 09:48 PM
i can create pdfs in php and set the font
I sometimes use pdf_show_xy
And I sometimes use pdf_show_boxed
I have pdflib version5
is it possible make one text line display two different fonts
I need to create a line where T F and M needs to be Bold
T (011)234 5678 F (011) 356 8765 M 083 567 9876
T stands for Telephone and F stand for Fax and M stands for Mobile.
So T F and M needs to be bold
I know i can separate it with two different pdf_show_xy instances but it makes it un-dynamic , because if the telephone number is a diifferent length then I must move the T F and M characters so the spacing looks right.
Can some-one please give me a good solution to using different font in one text line