The Arial Font
Arial is a very popular font with a contemporary sans serif design. The font family is also on the font families assumed to be present for PDF viewing. This could be because curves are are softer and fuller compared to other industrial style sans serif faces. This is owing to the treatment of curves by the font.
Problems with PDF files
We have found it can be rather problematic, regardless of the version of the font, for working with PDF. The reason for this is that there is more than ONE version of Arial floating around. Recounting a recent issue I looked into for our PDF Viewer will show this issue more clearly.
We had a PDF file which contained columns of text on a page. On our viewer, they were not aligned correctly. Digging into the file it turned out that the alignment was being achieved using spaces in Arial.
There were no widths defined for the space character, so we used the Arial space width defined in the AFM files. But Acrobat was using the space width from the Arial truetype font (and these values are not identical). So we could fix it by adding Arial.tff to our setup.
The Variations of Arial Font
The problem is that we are quite often dealing with at least 3 different types of the font – there is the one defined in the AFM files and then there is second as a local or embedded font (I have seen it in both non-CID TrueType, a CID version and Type1 versions). Because we are working in Java we also have access to a font from Java called ‘Arial‘ which actually contains some broken glyphs. And all of these fonts are available in slightly different versions. This can cause issues when trying to show some documents.
So it is worth including the width information of all fonts in your PDF files. A good policy is to embed your fonts as a matter of course and then you do not end up with documents which rely on local fonts on your machine to appear correctly.