Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
3ce80cbe
Commit
3ce80cbe
authored
Mar 29, 2009
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conditionalize prototyping and use of ftfont_variation_glyphs.
parent
5da5f805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/ftfont.c
src/ftfont.c
+9
-1
No files found.
src/ftfont.c
View file @
3ce80cbe
...
...
@@ -381,8 +381,15 @@ static int ftfont_anchor_point P_ ((struct font *, unsigned, int,
int
*
,
int
*
));
static
Lisp_Object
ftfont_otf_capability
P_
((
struct
font
*
));
static
Lisp_Object
ftfont_shape
P_
((
Lisp_Object
));
#ifdef HAVE_LIBOTF
#ifdef HAVE_M17N_FLT
#ifdef HAVE_OTF_GET_VARIATION_GLYPHS
static
int
ftfont_variation_glyphs
P_
((
struct
font
*
,
int
c
,
unsigned
variations
[
256
]));
#endif
/* HAVE_OTF_GET_VARIATION_GLYPHS */
#endif
/* HAVE_M17N_FLT */
#endif
/* HAVE_LIBOTF */
struct
font_driver
ftfont_driver
=
{
...
...
@@ -422,7 +429,8 @@ struct font_driver ftfont_driver =
NULL
,
#endif
/* not (HAVE_M17N_FLT && HAVE_LIBOTF) */
NULL
,
/* check */
#ifdef HAVE_OTF_GET_VARIATION_GLYPHS
#if defined (HAVE_LIBOTF) && defined (HAVE_M17N_FLT) && defined (HAVE_OTF_GET_VARIATION_GLYPHS)
ftfont_variation_glyphs
#else
NULL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment