diff options
author | Robert Pluim <rpluim@gmail.com> | 2018-12-14 15:04:14 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2018-12-14 15:05:20 +0100 |
commit | f14d5742db39b797f742566c4e68dffa9a62646d (patch) | |
tree | 9076714aeb8383f915d88a420427de063b4f0f44 /src/ftcrfont.c | |
parent | f519aa10b47f7c652ae9b5f021363073f5c463ff (diff) | |
download | emacs-f14d5742db39b797f742566c4e68dffa9a62646d.tar.gz emacs-f14d5742db39b797f742566c4e68dffa9a62646d.tar.bz2 emacs-f14d5742db39b797f742566c4e68dffa9a62646d.zip |
Document font structure layout constraints
The layout of the initial members of ftcrfont_info must match
ftfont_info
* src/ftcrfont.c (struct ftcrfont_info): Likewise.
* src/ftfont.c (struct ftfont_info): Document layout constraints.
Diffstat (limited to 'src/ftcrfont.c')
-rw-r--r-- | src/ftcrfont.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c index 614ef083701..d19c300c5b0 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c @@ -35,8 +35,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ struct ftcrfont_info { struct font font; - /* The following six members must be here in this order to be - compatible with struct ftfont_info (in ftfont.c). */ + /* The following members up to and including 'matrix' must be here + in this order to be compatible with struct ftfont_info (in + ftfont.c). */ #ifdef HAVE_LIBOTF bool maybe_otf; /* Flag to tell if this may be OTF or not. */ OTF *otf; |