I guess the problem is it's not being output as HTML, it's put in a pdf file.
It's a really long script but basically the content is set up:
$fee = "¾";
$letter ="The fee is $fee%";
and then it's put on a pdf page:
$p = explode("\n", $letter);
foreach ($p as $one) {
while (is_string($one)) {
$one = $pdf->draw_one_paragraph($top, 80, 72, 529, $one, $page1, $param);
if (is_string($one)) {
$page = $pdf->new_page("a4");
$top = $newtop;
} else {
$top = $one;
}
}
and the pdf generated-
header("Content-Disposition: filename=letter.pdf");
header("Content-Type: application/pdf");
$temp = $pdf->generate();
header('Content-Length: ' . strlen($temp));
echo $temp;
So perhaps there is a way to insert fractions into pdfs - it's sure got me confused!
😕