# What is the correct font name to use for Dejavu?

**URL:** <https://forum.xojo.com/t/what-is-the-correct-font-name-to-use-for-dejavu/81583>\
**Category:** Web\
**Created:** [August 29, 2024, 1:50pm UTC](https://forum.xojo.com/t/what-is-the-correct-font-name-to-use-for-dejavu/81583 "2024-08-29T13:50:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ryan\_Hartz](https://forum.xojo.com/user_avatar/forum.xojo.com/ryan_hartz/32/630_2.png) [@Ryan\_Hartz](https://forum.xojo.com/u/Ryan_Hartz)\
**Post date:** [August 30, 2024, 1:30pm UTC](https://forum.xojo.com/t/what-is-the-correct-font-name-to-use-for-dejavu/81583/5 "2024-08-30T13:30:10Z")

</div>

Bingo! Thank you both! I thought I received errors before when using System in web, but it must’ve been for something that web System did not have (I recall copying some code from the docs that may have been solely related to desktop)

Displaying the font names in a listbox to see what was available, I see that the Arial font (which is the one I ultimately wanted to use) is named ArialMT. I changed this in my test app per the following post, and it now displays correctly

> [@Web app - PDF wrap text different after server upgrade](https://forum.xojo.com/t/web-app-pdf-wrap-text-different-after-server-upgrade/81561):
>
> I noticed after the server upgrade yesterday that the wrap text in a PDFdocument is different now. It does not seem to span the width and follow the parameter for width This is the correct wrapping before the server upgrade: This is the new incorrect wrapping after the server upgrade: This is the code used: g.DrawText(mockMessage, 15, yCoord, g.Width - 30)

I created an Issue for the above, but now I see the problem is that I was using a font that is technically not there. I will close the Issue as this was my bad and not a bug

Thanks again!

---

_[View the full topic](https://forum.xojo.com/t/what-is-the-correct-font-name-to-use-for-dejavu/81583)._
