Al-Qurtas-Islamic-bank-The-.../src/autofit
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
..
afblue.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
afblue.cin Update all copyright notices. 2021-01-17 07:18:48 +01:00
afblue.dat Update all copyright notices. 2021-01-17 07:18:48 +01:00
afblue.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afblue.hin Update all copyright notices. 2021-01-17 07:18:48 +01:00
afcjk.c Remove experimental auto-hinting 'warp' mode. 2021-07-12 09:25:22 +02:00
afcjk.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afcover.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afdummy.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
afdummy.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
aferrors.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afglobal.c [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
afglobal.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afhints.c [autofit] More clean-ups. 2021-07-12 22:11:24 +02:00
afhints.h [autofit] More clean-ups. 2021-07-12 22:11:24 +02:00
afindic.c Remove experimental auto-hinting 'warp' mode. 2021-07-12 09:25:22 +02:00
afindic.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
aflatin.c Remove experimental auto-hinting 'warp' mode. 2021-07-12 09:25:22 +02:00
aflatin.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afloader.c [autofit] More clean-ups. 2021-07-12 22:11:24 +02:00
afloader.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afmodule.c Remove experimental auto-hinting 'warp' mode. 2021-07-12 09:25:22 +02:00
afmodule.h Remove experimental auto-hinting 'warp' mode. 2021-07-12 09:25:22 +02:00
afranges.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
afranges.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afscript.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afshaper.c [afshaper] Fix hb_ot_tags_from_script deprecation warning. 2021-01-17 17:33:50 +00:00
afshaper.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
afstyles.h Remove experimental "Latin2" writing system (FT_OPTION_AUTOFIT2) 2021-07-12 09:25:07 +02:00
aftypes.h [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
afws-decl.h [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
afws-iter.h [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00
autofit.c Remove obsolete AF_Angle type and related sources. 2021-07-12 09:25:39 +02:00
module.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
rules.mk [autofit] Split `afwrtsys.h`. 2021-07-24 07:29:17 +02:00