Parth Wazurkar
ab75cfedd0
[pk] Fixes.
7 years ago
Parth Wazurkar
460fe90b59
[pk] Define `pk_driver_class' functions.
...
* src/pk/pkdrivr.c: Define all the `pk_driver_class'
functions.
7 years ago
Parth Wazurkar
20230216aa
[pk] Define `pk_cmap_class' functions.
7 years ago
Parth Wazurkar
0d109109df
[pk] Define `pk' font loader 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.
7 years ago
Parth Wazurkar
24f39cba3d
[pk] Define PK_FaceRec and other format specific structures.
...
* src/pk/pkdrivr.h: Define PK_Bitmap and PK_Glyph
structures to hold `pk' format specific values and
define PK_FaceRec to accomodate them.
7 years ago
Parth Wazurkar
1316b813fd
[pk] Initialise pk driver files and Makefiles.
7 years ago
Parth Wazurkar
3959431aab
[pk,vf] Initialise pk and vf driver repositories.
7 years ago
Parth Wazurkar
d3a78786b5
[tfm] Fixes.
7 years ago
Parth Wazurkar
8302c96c83
[gf] Improve data types of some variables.
7 years ago
Parth Wazurkar
73338b9c10
[gf] Initialise `TFM Service' and add tracing.
...
* 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.
7 years ago
Parth Wazurkar
7939499452
[tfm] Define the `tfm_interface' functions.
...
* src/tfm/tfmobjs.c: Do it.
7 years ago
Parth Wazurkar
4b9c1b2b1b
[tfm] Initialise makefiles.
7 years ago
Parth Wazurkar
2d693b5a2c
[tfm] Define `tfm_module_class' and `tfm_interface'.
...
* src/tfm/tfmmod.c: Do it.
7 years ago
Parth Wazurkar
146b7febbd
[tfm] Add new `tfm' auxiliary module.
...
* 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.
7 years ago
Parth Wazurkar
b36649fd86
[gf] Define `attach_file' function in `gf_driver_class'.
...
* 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.
7 years ago
Parth Wazurkar
0f41489a09
[gf] Add `tfm' element in `GF_FaceRec'.
...
* src/gf/gfdrivr.h: Add `tfm' element in the `GF_FaceRec'
structure to accomodate the tfm metric values.
7 years ago
Parth Wazurkar
5b32e1a9d9
[gf] Cleanup commit.
...
* Rename `gf' files' header.
* Remove all the unnecessary typedefs and
switch to FT specific ones.
* Remove unnecessary comments.
7 years ago
Parth Wazurkar
fcef64dde7
[gf] Register gf services.
7 years ago
Parth Wazurkar
9da5d09e26
[gf] Create gf services.
...
* src/gf/gfdrivr.c: Define gf services descriptor
table and `gf_driver_requestor' function.
7 years ago
Parth Wazurkar
d9d157e556
[gf] Fixes.
7 years ago
Parth Wazurkar
69124b5979
[gf] Robustify.
...
* src/gf/gflib.c (gf_load_font): Add check
for GF_ID and GF_PRE commands to improve
test for `gf' files.
7 years ago
Parth Wazurkar
d9cdc15d80
[gf] Minor Fixes.
7 years ago
Parth Wazurkar
b619592a8f
[gf] Add support for parsing `xxx' and `yyy' commands.
...
* Now gf driver supports all the `gf' font files.
* Currently `xxx'and `yyy' commands if found after the
postamble are skipped over.
* Mechanism for extracting information from these commands
is to be added.
7 years ago
Parth Wazurkar
256c625c6e
[gf] Modify Glyph slot metric values.
7 years ago
Parth Wazurkar
10775a138e
[gf] Fix memory leak errors.
...
* src/gf/gfdrivr.c: Improve GF_Face_Done and
GF_Face_Init functions to fix memory leak errors.
7 years ago
Parth Wazurkar
2c3b6390a5
[gf] Fix gf_free_font function errors.
...
* src/gf/gflib.c (gf_free_font): Fix errors in gf_free_font
function.
* src/gf/gfdrir.c (GF_Glyph_Load): Improve slot metric
values.
7 years ago
Parth Wazurkar
f7f18d792e
[gf] Minor Fixes.
7 years ago
Parth Wazurkar
98b83f08aa
[gf] Improve error handling and minor fixes.
...
* src/gf/gflib.c : Use `Unknown_File_Format' instead
of `Invalid_File_Format'.
7 years ago
Parth Wazurkar
9efa36c8b0
[gf] Use Unicode charmap and modify slot metric values.
...
* src/gf/gfdrivr.c(GF_Face_Init): Use Unicode charmap and
modify FT_Bitmap_Size values.
* src/gf/gfdrivr.c(GF_Glyph_Load): Modify FT_GlyphSlot and
FT_Bitmap values.
7 years ago
Parth Wazurkar
d0c08730c7
[gf] Add tracing and error handling.
...
* src/gf/gfdrivr.c, src/gf/gflib.c: Add FT_TRACEX and
FT_ERROR messages for debugging.
* src/gf/module.mk: Fixes to make output of first `make'
call prettier.
7 years ago
Parth Wazurkar
f2c92f1173
[gf] Add gf components to FT trace definitions.
...
* include/freetype/internal/fttrace.h: Add gf driver
components, gfdriver and gflib to FT trace definitions.
7 years ago
Parth Wazurkar
34d588002c
[gf] Resolve compiler flag errors.
...
* src/gf/gflib.c: Remove all the unused variables,
add error checking for all the stream functions which
were raising compiler flag warnings.
* src/gf/gfdrivr.c: Remove unused variables.
7 years ago
Parth Wazurkar
2439cfb7e9
[gf] Minor fixes.
7 years ago
Parth Wazurkar
f7f6a981c4
[gf] FT stream support for gf driver.
...
* src/gf/gflib.c : Convert all the file functions to
FT stream functions.
7 years ago
Parth Wazurkar
c80039d715
[gf] Define FT driver variables with gftype values.
...
* src/gf/gfdrivr.c : Define the FT driver variables
in all the functions with gftype values from the font file.
7 years ago
Parth Wazurkar
522853e565
[gf] Removed VFlib specific code and refactored to FT.
7 years ago
Parth Wazurkar
ea69f5127c
[gf] Convert block comments to `light' style in gf files.
7 years ago
Parth Wazurkar
a11d8d05d5
[gf] * src/gf/gfdrivr.c: Added GF_Face_Init, GF_Face_Done and GF_Glyph_Load functions.
7 years ago
Parth Wazurkar
8ce66d72c8
[gf] Added GF_Size_Request and GF_Size_Select functions.
7 years ago
Parth Wazurkar
2cbff6f458
[gf] Minor changes to Makefiles to accomodate GF Driver.
...
* modules.cfg: Added gf font driver module.
* src/gf/module.mk: Minor changes.
7 years ago
Parth Wazurkar
9e030fff8f
[gf] * src/gf/gf.c: Added source files for single build
7 years ago
Parth Wazurkar
161035d66b
[gf] Removed indentation errors.
7 years ago
Parth Wazurkar
fdcaaa84fa
[gf] Added Makefiles.
...
-Initialised module.mk and rules.mk.
7 years ago
Parth Wazurkar
10c4f0bd4e
[gf] Initialised internal utility functions specific to GF format.
...
* src/gf/gf.h Added some required definitions.
* src/gf/gflib.c Added gf_font_load, gf_read_glyph, gf_font_done functions.
7 years ago
Parth Wazurkar
9a53ba425e
[gf] *src/gf/gfdrivr.h Defined GF_FaceRec and other format specific structures.
...
- Defined GF_FaceRec.
- Defined GF_BitmapRec and GF_Glyph structures to properly distinguish format specific values.
7 years ago
Parth Wazurkar
3e006d31fd
[gf] *src/gf/gfdrivr.c defined gf_cmap_class functions
...
- Defined structure GF_CMapRec for gf font format.
- Implemented gf_cmap_init, gf_cmap_done, gf_cmap_char_index, gf_cmap_char_next.
7 years ago
Parth Wazurkar
b1aef3269f
[gf] Added gf.c
7 years ago
Parth Wazurkar
edfccbd6e3
[gf] Initialised gf driver files
...
gf driver files are initialised. Macros required for gf font files are determined in gf.h file.
7 years ago
Parth Wazurkar
13338ef516
*src added gf driver repository
...
This repository contains the driver for gf font format.
7 years ago
Werner Lemberg
578bcf103a
[cff] Fix typo.
...
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9409
* src/cff/cffdrivr.c (cff_get_cid_from_glyph_index): Fix boundary
check.
7 years ago