Parth Wazurkar
b064189c94
[gf] Improve tracing.
2018-08-11 02:22:23 +05:30
Parth Wazurkar
b54503a256
[gf] Allocate bitmap in `GF_Glyph_Load' itself.
2018-08-10 20:23:28 +05:30
Parth Wazurkar
7ea68ac9f3
[gf] Change logic to load bitmap on demand.
...
Also load glyphs in the order they appear in the font
file by changing the cmap scheme and implementing a
proper `gf cmap'.
2018-08-10 00:54:24 +05:30
Parth Wazurkar
44d9f10ac8
[gf, pk] Change some data types to `signed' type.
...
* src/gf/gfdrivr.h(GF_GlyphRec): Do it.
* src/pk/pkdrivr.h(PK_GlyphRec): Ditto.
2018-08-07 19:44:01 +05:30
Parth Wazurkar
5485407707
[gf, pk] Resolve *glyph jumping* error.
...
* 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.
2018-08-07 19:38:26 +05:30
Parth Wazurkar
ad0453fd39
[gf, pk] Improve `attach_file' functions.
2018-08-05 17:02:09 +05:30
Parth Wazurkar
d93d4f6b34
[tfm] Improve error checking for `tfm' files.
2018-08-05 17:00:01 +05:30
Parth Wazurkar
82571dc2c7
[tfm] Improve `tfm_interface' definitions.
2018-08-05 16:57:35 +05:30
Parth Wazurkar
ca9e387ccb
[tfm] Improve data types of variables in `TFM_FontInfoRec'
2018-08-05 16:54:50 +05:30
Parth Wazurkar
dddc46b0b8
[pk] Fixes.
...
* Now pk driver loads bitmaps properly and ftview
displays proper glyphs from pk driver.
2018-08-02 00:48:05 +05:30
Parth Wazurkar
1b16b2267e
Fix `printf' statements.
2018-08-02 00:47:30 +05:30
Parth Wazurkar
7236cde177
Make branch even for testing.
...
* For testing modifications to gf, pk and tfm modules.
2018-08-01 01:30:06 +05:30
Parth Wazurkar
62a92ff723
[gf] Cleanup commit.
...
* Rename `gf' files' header.
* Remove all the unnecessary typedefs and
switch to FT specific ones.
* Remove unnecessary comments.
2018-07-20 16:49:55 +05:30
Parth Wazurkar
cde0317724
[gf] Register gf services.
2018-07-20 16:49:45 +05:30
Parth Wazurkar
88ca39830e
[gf] Create gf services.
...
* src/gf/gfdrivr.c: Define gf services descriptor
table and `gf_driver_requestor' function.
2018-07-20 16:49:37 +05:30
Parth Wazurkar
eaa830405e
[gf] Robustify.
...
* src/gf/gflib.c (gf_load_font): Add check
for GF_ID and GF_PRE commands to improve
test for `gf' files.
2018-07-20 16:49:24 +05:30
Parth Wazurkar
ed698a3b3b
[gf] Minor Fixes.
2018-07-20 16:49:13 +05:30
Parth Wazurkar
7635ca9624
[tfm] Fixes.
2018-07-17 21:01:53 +05:30
Parth Wazurkar
a5e988fe32
[gf] Add support for parsing `xxx' and `yyy' commands.
...
* Now gf driver supports all the 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.
2018-07-12 20:13:22 +05:30
Parth Wazurkar
6cfd41681f
[gf] Fixes.
...
* Make even with `parthw-cleaned' branch.
2018-07-12 17:00:18 +05:30
Parth Wazurkar
f2120af34b
[tfm] Add tfm_driver_class functions.
...
Note: Does not compile.
* src/tfm/tfmdrivr.c: Add TFM_Face_Done, TFM_Face_Init,
TFM_Glyph_Load, TFM_Size_Request and TFM_Size_Select
functions.
2018-07-12 16:50:07 +05:30
Parth Wazurkar
5b74836c7a
[tfm] Fixes.
2018-07-10 16:36:30 +05:30
Parth Wazurkar
11f4cadddd
[gf] Preliminary tracing and error handling support and minor fixes.
2018-07-04 15:33:57 +05:30
Parth Wazurkar
20c2358230
minor.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
472155eac2
[gf] Fixes.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
a57dda6564
[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-03 01:57:10 +05:30
Parth Wazurkar
7870984ea1
[tfm] Minor.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
3c555bf991
[tfm] Define TFM_FaceRec and other format specific structures.
...
* src/tfm/tfmdrivr.h: Define TFM_FaceRec also define
TFM_GlyphRec structure to properly distinguish format
specific values.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
a16b3b2199
[tfm] FT stream support for tfm driver.
...
* src/tfm/tfmlib.c : Convert all the file functions to
FT stream functions.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
4c1f8627bf
[tfm] Remove VFlib specific code and refactor to FT.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
67d3c53dcd
[tfm] Archive code for other font metric formats.
...
* src/tfm/tfmlib.c: Archive code for Omega Font metric(OFM),
Japanese Font Metric(JFM), font formats.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
39375424d9
[tfm] Define tfm_cmap_class functions.
...
* Define structure TFM_CMapRec for TeX tfm font format.
* src/tfm/tfmdrivr.c: Define tfm_cmap_init, tfm_cmap_done,
tfm_cmap_char_index, tfm_cmap_char_next.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
90624af017
[gf] Add printf flags for debugging.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
86cc6cbd40
[gf] Changes.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
5585c5f365
[gf] Minor changes.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
0532670c02
[gf] Complete stream support and some minor changes for testing.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
2bea8dbd49
Minor changes for testing.
2018-07-03 01:57:10 +05:30
Parth Wazurkar
e69e7e492a
[tfm] Add preliminary functions and structures.
...
* Added tfm specific functions and structures for the driver
(To be modified).
2018-07-03 01:57:10 +05:30
Parth Wazurkar
e7c95039f5
[gf] COnverted file functions to FT stream functions.
...
* src/gf/gflib.c : Converted all the file functions like getc,
fseek,etc. to FT specific stream functions.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
1338d517c4
[tfm] Initialised TFM driver files.
...
* src/tfm : Added all the driver source files and makefiles.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
5147064e1b
[gf] Temporary changes for compiling gf driver.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
3ff144c5d9
[gf] Convert block comments to `light' style in gf files.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
781a67cb82
[gf] Changes.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
59f6af025d
[gf] Changed to FT data types in structures.
...
* src/gf/gfdrivr.h: Changed data types in GF_FaceRec, Gf_GlyphRec and GF_BitmapRec to FT data types.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
56b81c93f0
[gf] * src/gf/gfdrivr.c: Added GF_Face_Init, GF_Face_Done and GF_Glyph_Load functions.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
f920b5f345
[gf] Removed VFlib specific code and refactored to FT.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
265cc448fd
[gf] Added GF_Size_Request and GF_Size_Select functions.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
577efd8f17
[gf] Minor changes to Makefiles to accomodate GF Driver.
...
* modules.cfg: Added gf font driver module.
* src/gf/module.mk: Minor changes.
2018-07-03 01:57:09 +05:30
Parth Wazurkar
48e21b7681
[gf] * src/gf/gf.c: Added source files for single build
2018-07-03 01:57:09 +05:30
Parth Wazurkar
846f20ac9d
[gf] Removed indentation errors.
2018-07-03 01:57:09 +05:30