I'm having an issue with an RDLC report printing empty characters when produced as a PDF. It only affects font ligatures which I understand to be letter combinations such as:
- ti
- ft
- fi
- tt
My research shows these character combinations are combined into a single glyph, which I see as an empty space when printed out. Example clippings:
On PDF:
Printed:
Therefore the symptoms are:
- The PDF appears fine on the screen
- When printed (physically or using the XPS writer) all ligatures appear as a blank space
So far I have narrowed it down to a particular font (Calibri) and a particular server (Windows Server 2003 R2). The PDF has the font embedded:
I order to resolve this I'd be happy with:
- Prevent LocalReport.Render from combining ligatures
- Enable Server 2003 to treat the font as my Windows 7 machine is
I'm not sure how / where I would begin in comparing the font environments, therefore ideas and pointers are much appreciated.
UPDATE:
Thanks to the answers below I have checked the charmaps on both machines but they look identical:
Server (where issue lies):
Local (no issue):
This also reminded me that I installed the font by copying over the font files and installing them directly. Both versions are 5.72, Digitally Signed, TrueType Outlines, however the server displays OpenType Font
whereas local displays OpenType Layout
(could just be different operating system display).
An interesting point is if I use Calibri Regular 48 locally I see the ligature:
whereas the server doesn't use it:
In addition both PDFs are PRINTED on the same machine, but it's only the PDF generated on the server that exhibits the issue, therefore I think printer drivers cannot be the issue?
tt
is specifically mentioned. It looks like, regardless of font being embedded into PDF, local 2003 installed copy is used. Upgrading font version at 2003 machine and/or making it always use embedded font (printer driver options?) is best solution. If you only control computer that generates PDFs, maybe downgrading Calibri there is an option. – Solarismtt
orti
as you say) but this wouldn't explain why I'm seeingti
andtt
being omitted on one machine not the other. – GobbleMicrosoft XPS Document Writer
– Gobbledoesn't
render the ligature. I've updated the question. – Gobble