I have a question about abilities of function PXC_AddFontW in pxclib40.dll, as for creating or making Windows to produce a generic bold, italic and bolditalic fonts.
Windows apparently can do it, since when having only a single file with a given font, we can still use bold, italic and bolditalic fonts. windows generates them "when needed."
However, when creating a pdf using pxclib40.dll, this cannot be achieved and only regular font is in obtained pdf document.
I tried using PXC_AddFontW, which have arguments for bold and italic parameters, but I suspect, that when a "physical" file is not found in the Windows (fonts folder?) then the library does not use it.
But maybe it can use this ability somehow, and I am not using correct functions?
Observing the argument out from this method, the last parameter, which is pointer to the font, when having only regular font file, it is the same for all 4 cases: regular, italic, bold and bolditalic. For a font, that has these multiple files, I get values different for: regular, bold, and italic, bolditalic (these last two have the same value). This suggests, presence of these separate files is required and pxclib40.dll does not use windows ability to mimic these fonts.
Is this by design?