BOOL32 __stdcall pdfSetSoftGlyphRendering(BOOL32 Enable);
function pdfSetSoftGlyphRendering(Enable: LongBool): LongBool; stdcall;
Purpose. Toggle whether the the engine software rasterizer renders text via embedded TrueType glyph outlines drawn in software (GSoftGlyph = True) or via the GDI ETO_GLYPH_INDEX path.
Description. A genuinely global, process-wide flag — not per-document, despite taking no IPDF parameter at all, matching the same class of process-global side effect previously documented for pdfSetAnsiMode's GGapAnsiUTF8 (Document Utility Settings): every open document in the process shares one GSoftGlyph state. Consulted directly inside the rasterizer's glyph-drawing code path (if GSoftGlyph and (Length(Res.Fonts[curFontIdx].TTF) > 0) then ...), so it only has any effect for fonts with embedded TrueType outline data available in the render resources; standard-14/system-substituted fonts are unaffected either way.
Parameters.
| Parameter | Description |
|---|---|
Enable | New global (process-wide) state. |
Return value. Always True.
C# (P/Invoke)
[return: MarshalAs(UnmanagedType.Bool)]
Setters
pdfSetSoftGlyphRendering
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.