AddType3Font
Fontes, Fontes Type 3
Descrição
Cria uma fonte Type 3 cujos glifos são fornecidos como programas gráficos PDF e a seleciona como fonte atual
Sintaxe
Delphi
Function TPDFlib.AddType3Font(Const FontName: WideString; M11, M12, M21, M22, MDX, MDY, LLX, LLY, URX, URY: Double): Integer;ActiveX
Function PDFlib::AddType3Font(FontName As String, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double, LLX As Double, LLY As Double, URX As Double, URY As Double) As LongDLL
int DLAddType3Font(int InstanceID, const wchar_t *FontName, double M11, double M12, double M21, double M22, double MDX, double MDY, double LLX, double LLY, double URX, double URY);Parâmetros
M11 M12 M21 M22 MDX MDY definem a matriz da fonte e LLX LLY URX URY definem o bounding box da fonte no espaço do glifo
Valores retornados
| Font ID | A positive font handle on success |
|---|---|
| 0 | O nome está vazio, o box é inválido, ou a matriz é singular |
Observações
A fonte começa com um glifo /.notdef válido. Uma matriz [0.001 0 0 0.001 0 0] é conveniente quando as coordenadas dos glifos usam 1000 unidades por em