support huge fonts (patch by Alan W. Irwin)#37
Open
dominikboehm wants to merge 24 commits intomasterfrom
Open
Conversation
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
hpdf_objects.h fixes #23
type 1 fonts. fixes #25
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.