Commit graph

20 commits

Author SHA1 Message Date
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.
2018-07-30 23:47:51 +05:30
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.
2018-07-30 23:47:51 +05:30
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.
2018-07-30 23:47:51 +05:30
Parth Wazurkar
2439cfb7e9 [gf] Minor fixes. 2018-07-30 23:47:51 +05:30
Parth Wazurkar
f7f6a981c4 [gf] FT stream support for gf driver.
* src/gf/gflib.c : Convert all the file functions to
FT stream functions.
2018-07-30 23:47:51 +05:30
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.
2018-07-30 23:47:51 +05:30
Parth Wazurkar
522853e565 [gf] Removed VFlib specific code and refactored to FT. 2018-07-30 23:47:50 +05:30
Parth Wazurkar
ea69f5127c [gf] Convert block comments to `light' style in gf files. 2018-07-30 23:47:50 +05:30
Parth Wazurkar
a11d8d05d5 [gf] * src/gf/gfdrivr.c: Added GF_Face_Init, GF_Face_Done and GF_Glyph_Load functions. 2018-07-30 23:47:50 +05:30
Parth Wazurkar
8ce66d72c8 [gf] Added GF_Size_Request and GF_Size_Select functions. 2018-07-30 23:47:50 +05:30
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.
2018-07-30 23:47:50 +05:30
Parth Wazurkar
9e030fff8f [gf] * src/gf/gf.c: Added source files for single build 2018-07-30 23:47:50 +05:30
Parth Wazurkar
161035d66b [gf] Removed indentation errors. 2018-07-30 23:47:50 +05:30
Parth Wazurkar
fdcaaa84fa [gf] Added Makefiles.
-Initialised module.mk and rules.mk.
2018-07-30 23:47:50 +05:30
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.
2018-07-30 23:47:50 +05:30
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.
2018-07-30 23:47:50 +05:30
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.
2018-07-30 23:47:50 +05:30
Parth Wazurkar
b1aef3269f [gf] Added gf.c 2018-07-30 23:47:50 +05:30
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.
2018-07-30 23:47:50 +05:30
Parth Wazurkar
13338ef516 *src added gf driver repository
This repository contains the driver for gf font format.
2018-07-30 23:47:50 +05:30