how to make a regular TTF or OTF font fat, italic or oily PHP

because of the handcode requirements, the whole question in the title:

How to make a usual TTF or OTF font fat, italic or oily php?

It is clear, here is the addition: in the picture, display the text.


Answer 1

Need appropriate fonts. As a rule, for the Bold at the end of the font name, b. For example Arialb.ttf


Answer 2

Hm as I understood the usual text to make in bold or italics in PHP, then
echo “& lt; b & gt; your text & lt; / b & gt;”;
Also with italics only instead of in insert I
P.S. Take the gaps