<?php
$font = pdf_findfont($pdf,"Helvetica-Bold","host",0);
pdf_setfont($pdf,$font,38.0);
/* Over-line text */
pdf_set_parameter($pdf, "overline", "true");
pdf_show_xy($pdf, "Overlined Text", 50,780);
pdf_set_parameter($pdf, "overline", "false");
/* Underlined text */
pdf_set_parameter($pdf, "underline", "true");
pdf_continue_text($pdf, "Underlined Text");
/* Underlined and Strike-through text */
pdf_set_parameter($pdf, "strikeout", "true");
pdf_continue_text($pdf, "Underlined strikeout Text");
pdf_set_parameter($pdf, "underline","false");
pdf_set_parameter($pdf, "strikeout","false");
/* Solid Red Text */
pdf_setcolor($pdf,"fill","rgb", 1.0, 0.1, 0.1);
pdf_continue_text($pdf, "Red Text");
pdf_setcolor($pdf,"fill","rgb", 0, 0, 0);
/* Outlined Green Text */
pdf_set_value($pdf,"textrendering",1);
pdf_setcolor($pdf,"stroke","rgb", 0, 0.5, 0);
pdf_continue_text($pdf, "Green Outlined Text");
/* Outlined Green Text with Blue Fill */
pdf_set_value($pdf,"textrendering",2);
pdf_setcolor($pdf,"fill","rgb", 0, .2, 0.8);
pdf_setlinewidth($pdf,2);
pdf_continue_text($pdf, "Green Outlined Blue Text");
?>