| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* src/gf/gfdrivr.c(GF_Glyph_Load):
- Use pointer to extract metric values from `bm_table'.
- Remove unnecessary test for `glyph_index'.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/gf/gfdrivr.c(GF_Face_Done): Fix the free operation
which caused seg fault after `gf driver' returned `not a gf file'.
|
|
|
|
|
|
| |
* As suggested here:
http://lists.gnu.org/archive/html/freetype-devel/2018-08/msg00030.html
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* src/pk/pkdrivr.c(TFM_Read_Metrics): Fix oversight, to
resolve the memory leakage errors which occured while
attaching a `tfm' file.
|
| |
|
|
|
|
|
|
|
|
| |
* src/tfm/tfmobjs.c(tfm_close): Remove double freeing
of `stream' object.
* src/gf/gfdrivr.c(TFM_Read_Metrics): Fix oversight
errors.
|
|
|
|
|
|
|
| |
* src/gf/gfdrivr.c(TFM_Read_Metrics): Modify to accomodate changes
in the `tfm' module.
* src/pk/pkdrivr.c(TFM_Read_Metrics): Ditto.
|
|
|
|
|
|
|
| |
* 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*.
|
|
|
|
|
| |
* src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation
in `tfm_interface'.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/gf/gfdrivr.h(GF_GlyphRec): Do it.
* src/pk/pkdrivr.h(PK_GlyphRec): Ditto.
|
| |
|
|
|
|
|
| |
* Remove all the unnecessary typedefs and comments.
* Rename `pk' files' headers.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* src/pk/pklib.c(pk_load_font): Do it.
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
| |
* src/pk/pkdrivr.h: Add `tfm' element in the `PK_FaceRec'
structure to accomodate the tfm metric values.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* src/pk/pklib.c (pk_load_font): Add check for
`PK_ID' and `PK_PRE' command in the font file.
|
| |
|
|
|
|
|
| |
* src/pk/pkdrivr.c: Define all the `pk_driver_class'
functions.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* src/pk/pkdrivr.h: Define PK_Bitmap and PK_Glyph
structures to hold `pk' format specific values and
define PK_FaceRec to accomodate them.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* src/tfm/tfmobjs.c: Do it.
|
| |
|
|
|
|
| |
* src/tfm/tfmmod.c: Do it.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/gf/gfdrivr.h: Add `tfm' element in the `GF_FaceRec'
structure to accomodate the tfm metric values.
|
|
|
|
|
|
|
| |
* Rename `gf' files' header.
* Remove all the unnecessary typedefs and
switch to FT specific ones.
* Remove unnecessary comments.
|
| |
|