summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [gf] Some more fixes.parthw-cleanedParth Wazurkar2018-09-082-9/+8
|
* [gf] Formatting fixes.Parth Wazurkar2018-09-085-295/+310
|
* [tfm] Fix typo.Parth Wazurkar2018-08-151-1/+0
|
* [gf] Resolve failing of `GF_CMap'.Parth Wazurkar2018-08-151-43/+11
| | | | | | * src/gf/gfdrivr.c(gf_cmap_char_{index, next}): Use `linear search' instead of `binary search' in the encoding table as it will always be unsorted.
* [pk] Resolve failing of `PK_CMap'.Parth Wazurkar2018-08-152-80/+24
| | | | | | | | | * src/pk/pkdrivr.c(pk_cmap_char_{index, next}): Use `linear search' instead of `binary search' in the encoding table as it will always be unsorted. * src/pk/pklib.c: Resolve issues occurred in the previous commit which caused errors in glyph loading on `ft2-demos'.
* [pk] Fixes.Parth Wazurkar2018-08-132-42/+54
| | | | | | | | | | * src/pk/pkdrivr.c(PK_Glyph_Load): - Remove unnecessary test for code_{min, max} values. - Use pointer to get metric values. * src/pk/pklib.c(pk_load_font): - Improve tracing. - Remove unnecessary variables and parameters.
* [gf] Fixes in `GF_Glyph_Load' function.Parth Wazurkar2018-08-121-28/+21
| | | | | | * src/gf/gfdrivr.c(GF_Glyph_Load): - Use pointer to extract metric values from `bm_table'. - Remove unnecessary test for `glyph_index'.
* [pk] Change `cmap' encoding scheme.Parth Wazurkar2018-08-124-41/+135
| | | | | | | | * src/pk/pkdrivr.c(PK_Face_Init): - Change `pk_cmap_class' functions to use new encoding scheme. - Set charmap to `0: synthetic, platform 0, encoding 0 language 0' values.
* [gf] Fix invalid free operation.Parth Wazurkar2018-08-121-2/+4
| | | | | * src/gf/gfdrivr.c(GF_Face_Done): Fix the free operation which caused seg fault after `gf driver' returned `not a gf file'.
* [gf] Important Fixes.Parth Wazurkar2018-08-122-20/+9
| | | | | | * As suggested here: http://lists.gnu.org/archive/html/freetype-devel/2018-08/msg00030.html
* [gf] Change `cmap' encoding scheme.Parth Wazurkar2018-08-123-60/+270
| | | | | | | | | | | | * src/gf/gfdrivr.c(GF_Face_Init): - Change `gf_cmap_class' functions to use new encoding scheme. - Set charmap to `0: synthetic, platform 0, encoding 0 language 0' values. * src/gf/gflib.c(gf_set_encodings, gf_load_font): Modify to set encoding so as to load glyphs in the order they appear in the font file.
* [gf] Fixes.Parth Wazurkar2018-08-112-3/+12
|
* [pk] Fix oversight.Parth Wazurkar2018-08-101-1/+0
| | | | | | * src/pk/pkdrivr.c(TFM_Read_Metrics): Fix oversight, to resolve the memory leakage errors which occured while attaching a `tfm' file.
* [gf] Fix typo.Parth Wazurkar2018-08-101-1/+0
|
* [tfm] Resolve memory leak errors.Parth Wazurkar2018-08-102-10/+6
| | | | | | | | * src/tfm/tfmobjs.c(tfm_close): Remove double freeing of `stream' object. * src/gf/gfdrivr.c(TFM_Read_Metrics): Fix oversight errors.
* [gf, pk] Modify `attach_file' function.Parth Wazurkar2018-08-082-54/+61
| | | | | | | * src/gf/gfdrivr.c(TFM_Read_Metrics): Modify to accomodate changes in the `tfm' module. * src/pk/pkdrivr.c(TFM_Read_Metrics): Ditto.
* [tfm] Modify module functions as per `tftopl'.Parth Wazurkar2018-08-081-154/+101
| | | | | | | * src/tfm/tfmobjs.c(tfm_parse_metrics): - Modify the metric extraction functions. - Add checking for `tfm' file so that an error will be returned if the font file is found *malformed*.
* [tfm] Modify `tfm_interface' definition.Parth Wazurkar2018-08-081-2/+7
| | | | | * src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation in `tfm_interface'.
* [tfm] Modify `TFM_ServiceRec' and `TFM_FontInfoRec' definitions.Parth Wazurkar2018-08-081-13/+21
| | | | | | | | * include/freetype/internal/tfm.h(TFM_FontInfoRec): Change data types to accomodate changes. * include/freetype/internal/tfm.h(TFM_ServiceRec): Create `TFM_Parse_FuncsRec' to hold the `tfm' module functions.
* [gf, pk] Resolve *glyph jumping* error.Parth Wazurkar2018-08-082-8/+4
| | | | | | | | * src/gf/gfdrivr.c(GF_Load_Glyph): Modify glyph metric values to resolve the *glyph jumping* error and make the glyphs to properly sit on baseline. * src/pk/pkdrivr.c(PK_Glyph_Load): Ditto.
* [gf, pk] Change some data types to `signed' type.Parth Wazurkar2018-08-082-9/+9
| | | | | * src/gf/gfdrivr.h(GF_GlyphRec): Do it. * src/pk/pkdrivr.h(PK_GlyphRec): Ditto.
* [pk] Modify `pk' files' header.Parth Wazurkar2018-08-046-10/+10
|
* [pk] Cleanup commit.Parth Wazurkar2018-08-046-119/+119
| | | | | * Remove all the unnecessary typedefs and comments. * Rename `pk' files' headers.
* [pk] Fix metric extraction functions.Parth Wazurkar2018-08-021-4/+6
| | | | | | | | * src/pk/pklib.c(pk_load_font): Change `READ_UINT4' function to `READ_INT4' to *correctly* extract information in font file's header. * Now pk driver displays glyphs in ftview.
* [tfm] Fixes.Parth Wazurkar2018-08-022-1/+2
|
* [pk] Improve error handling.Parth Wazurkar2018-08-011-9/+10
| | | | * src/pk/pklib.c(pk_load_font): Do it.
* [pk] Define `attach_file' function in `pk_driver_class'.Parth Wazurkar2018-08-011-2/+100
| | | | | | | | | * src/pk/pkdrivr.c: Define `attach_file' function, `TFM_Read_Metrics' in `pk_driver_class' to extract font metric information from `tfm' file. * src/pk/pkdrivr.c(PK_Face_Init): Initialise `TFM_Service' by calling `FT_Get_Module_Interface'.
* [pk] Add `tfm' element in `PK_FaceRec'.Parth Wazurkar2018-08-011-2/+6
| | | | | * src/pk/pkdrivr.h: Add `tfm' element in the `PK_FaceRec' structure to accomodate the tfm metric values.
* [gf, pk] Minor Fixes for some compilation errors.Parth Wazurkar2018-07-313-3/+5
|
* [pk] Remove indentation errors.Parth Wazurkar2018-07-311-53/+53
|
* [pk] Add pk services.Parth Wazurkar2018-07-316-13/+86
|
* [pk] Improve error checking in font file.Parth Wazurkar2018-07-301-1/+21
| | | | | * src/pk/pklib.c (pk_load_font): Add check for `PK_ID' and `PK_PRE' command in the font file.
* [pk] Fixes.Parth Wazurkar2018-07-303-69/+85
|
* [pk] Define `pk_driver_class' functions.Parth Wazurkar2018-07-301-5/+256
| | | | | * src/pk/pkdrivr.c: Define all the `pk_driver_class' functions.
* [pk] Define `pk_cmap_class' functions.Parth Wazurkar2018-07-301-5/+43
|
* [pk] Define `pk' font loader functions.Parth Wazurkar2018-07-302-3/+511
| | | | | | | * src/pk/pk.h: Add `pk' format specific opcodes. * src/pk/pklib.c: Define `pk_font_load', `pk_free_font' and other format specific utility functions.
* [pk] Define PK_FaceRec and other format specific structures.Parth Wazurkar2018-07-301-2/+11
| | | | | | * src/pk/pkdrivr.h: Define PK_Bitmap and PK_Glyph structures to hold `pk' format specific values and define PK_FaceRec to accomodate them.
* [pk] Initialise pk driver files and Makefiles.Parth Wazurkar2018-07-308-0/+491
|
* [pk,vf] Initialise pk and vf driver repositories.Parth Wazurkar2018-07-302-0/+0
|
* [tfm] Fixes.Parth Wazurkar2018-07-306-52/+79
|
* [gf] Improve data types of some variables.Parth Wazurkar2018-07-303-9/+8
|
* [gf] Initialise `TFM Service' and add tracing.Parth Wazurkar2018-07-301-14/+43
| | | | | | | * src/gf/gfdrivr.c (GF_Face_Init): Call `FT_Get_Module_Interface' to initialise `tfm' module. * src/gf/gfdrivr.c (TFM_Read_Metrics): Add tracing messages.
* [tfm] Define the `tfm_interface' functions.Parth Wazurkar2018-07-303-0/+470
| | | | * src/tfm/tfmobjs.c: Do it.
* [tfm] Initialise makefiles.Parth Wazurkar2018-07-303-0/+124
|
* [tfm] Define `tfm_module_class' and `tfm_interface'.Parth Wazurkar2018-07-304-0/+134
| | | | * src/tfm/tfmmod.c: Do it.
* [tfm] Add new `tfm' auxiliary module.Parth Wazurkar2018-07-302-0/+140
| | | | | | | | * include/freetype/internal/tfm.h: - Add TFM_FontInfoRec to accomodate TFM metric data. - Define TFM_ParserRec to parse the metric data from input `tfm' file. - Define TFM_ServiceRec to provide functions to do it.
* [gf] Define `attach_file' function in `gf_driver_class'.Parth Wazurkar2018-07-301-1/+72
| | | | | | * src/gf/gfdrivr.c: Define `attach_file' function, `TFM_Read_Metrics' in `gf_driver_class' to extract font metric information from `tfm' file using a new `TFM' auxiliary module.
* [gf] Add `tfm' element in `GF_FaceRec'.Parth Wazurkar2018-07-301-7/+10
| | | | | * src/gf/gfdrivr.h: Add `tfm' element in the `GF_FaceRec' structure to accomodate the tfm metric values.
* [gf] Cleanup commit.Parth Wazurkar2018-07-304-87/+75
| | | | | | | * Rename `gf' files' header. * Remove all the unnecessary typedefs and switch to FT specific ones. * Remove unnecessary comments.
* [gf] Register gf services.Parth Wazurkar2018-07-303-0/+42
|