Hello,
This should work. Copy the following code to
https://pdfcrowd.com/#convert_by_input and click the [Convert To PDF] button.
<textarea id="text" style="font-family: Arial; text-align: center; font-weight:bold; ; font-size: 16px; width: 150px; height: 50px;" >
Lorem Ipusm
</textarea>
<textarea id="text" style="font-family: Arial; text-align: center; font-weight:normal; ; font-size: 16px; width: 150px; height: 50px;" >
Lorem Ipusm
</textarea>