freetype2/src
Ben Wagner 5bcaf51b61 [autofit] Split `afwrtsys.h`.
The header file `afwrtsys.h` has two distinct functions: to include the
required writing system headers and also to generate code for each writing
system.  At each current use site only one or the other is used, with
various macro trickery selecting one or the other.  Split this header into
`afws-decl.h` for the required writing system declarations and `afws-iter.h`
for iterating over the writing systems to generate code.

The motivation for this change is that the Visual C++ compiler treats the
standard include guard idiom like `#pragma once` 'if no non-comment code or
preprocessor directive comes before or after the standard form of the
idiom'.  It appears to check this after macro expansion, so if
`WRITING_SYSTEM` expands to empty the bottom of `afwrtsys.h` is empty and
looks like the standard include guard idiom which is treated like `#pragma
once`, so subsequent inclusion of `afwrtsys.h` is elided.

Fixes #1075.

* src/autofit/afglobal.c (af_writing_system_classes), src/autofit/aftypes.h
(AF_WritingSystem), src/autofit/rules.mk (AUTOF_DRV_H): Updated.

* src/autofit/afwrtsys.h: Split into...
* src/autofit/afws-decl.h, src/autofit/afws-iter.h: New files.
2021-07-24 07:29:17 +02:00
..
autofit [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
base * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
bdf * src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro. 2021-05-07 09:33:41 -04:00
bzip2 [bzip2,gzip] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-23 08:24:22 -04:00
cache Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cff Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cid More various documentation improvements and fixes. 2021-06-08 18:23:16 +02:00
dlg Update all copyright notices. 2021-01-17 07:18:48 +01:00
gxvalid [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-22 23:07:01 -04:00
gzip [gzip] Use exact type for `ft_gzip_alloc` and `ft_gzip_free`. 2021-05-19 09:07:33 +02:00
lzw [lzw] Preserve decompression stack when relocating to heap. 2021-04-27 11:39:58 -04:00
otvalid [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-22 23:07:01 -04:00
pcf [bdf,pcf] Avoid memory zeroing (contd.). 2021-05-02 18:30:22 -04:00
pfr [pfr] Avoid some memory zeroing. 2021-04-26 17:14:28 -04:00
psaux * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
pshinter Update all copyright notices. 2021-01-17 07:18:48 +01:00
psnames * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
raster * src/raster/ftraster.c (Render_Single_Pass): Simplify `band_stack'. 2021-06-30 10:54:59 -04:00
sdf [sdf] Improve documentation. 2021-07-13 10:00:22 +02:00
sfnt * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
smooth * src/smooth/ftgrays.c: Fix compilation if `FT_LONG64` is undefined. 2021-07-17 08:31:20 +02:00
tools Move 'dlg' submodule to `subprojects` directory. 2021-02-16 14:07:18 +01:00
truetype * src/truetype/ttgxvar.c (tt_set_mm_blend): Test `coords`. 2021-07-01 07:02:04 +02:00
type1 [type1] Avoid MM memory zeroing. 2021-05-07 19:17:48 -04:00
type42 Add a comment. 2021-06-15 22:49:21 -04:00
winfonts * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. 2021-04-26 17:10:28 -04:00