Skip to content

support huge fonts (patch by Alan W. Irwin)#37

Open
dominikboehm wants to merge 24 commits intomasterfrom
db/fontsize
Open

support huge fonts (patch by Alan W. Irwin)#37
dominikboehm wants to merge 24 commits intomasterfrom
db/fontsize

Conversation

@dominikboehm
Copy link

No description provided.

Hammerschmid Daniel and others added 24 commits July 3, 2013 16:35
The two new Makefiles can be used to cross compile the library for
Windows using MinGW under Linux.

Fixes #3
The functions HPDF_Image_SetMask and HPDF_Page_WriteComment are now
added in the def-file and will also be in the resulting dll-file.

Fixes #5
Changed dash phase to HPDF_REAL.
Removed if-statement which checked if the number of dash pattern array elements is even, because I could not find a reason for this check in the PDF reference.
Text fields can now be inserted with the method HPDF_Page_TextField.
fixes #10

Changed wrong HPDF_PTRACE text
Added method GetEncoder2 which gets 2 encoding names.
The name of the base encoding and the new encoding name.

Added the string differences_str to the HPDF_BasicEncoderAttr_Rec struct.
If the differences_str is set, it will be used as the difference entry of the encoding.

fixes #12

Added new and alternative Unicode-Glyph-Mappings

The hpdf_encoder.c gets new entrys for the HPDF_UNICODE_GRYPH_NAME_MAP
variable.
These are partially new and partially alternative Unicode-to-Glyph
mappings.

Added HPDF_GetEncoder2 function to libhpdf.def
When parsing a corrupt AFM file the libharu will not rise an error when
there are not enough / too much C-commands.

Fixes #15
Added function HPDF_LoadType1FontFromFileNative which loads a native type 1 font.
The function does not use the HPDF_GryphNameToUnicode method to determine the unicode value of a character.

fixes #17

Fixed wrong HPDF_PTRACE
If the value of unicode_len from the HPDF_CreateOutline method is greater than 0,
the title string will be treated as a unicode string.

Also, the zoom value from the HPDF_Destination_SetXYZ method can now be 0.

fixes #19

Fixed HPDF_PTRACE in HPDF_STRING_NEW_UNICODE
CapHeight attribute of Type1 fonts will now be added to the FontDescriptor
The functions HPDF_PDFA_SetPDFAConformance, HPDF_PDFA_AppendOutputIntents and HPDF_LoadIccProfileFromFile can now be cross compiled.
HPDF_SetTextPlacementAccuracy can be used to set how many decimal places should be used when positioning text.
HPDF_SetWriteFontWidths can be used to set if width entries of fonts which are not embedded should be written.
correct length used for realloc

realloc uses correct length
HPDF_Page_New_Content_Stream
HPDF_Page_Insert_Shared_Content_Stream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants