Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7bca5cf2
Commit
7bca5cf2
authored
Jun 21, 1997
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(font_idx_temp): Extern it.
(FS_LOAD_FONT): New macro.
parent
bb8143d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
src/fontset.h
src/fontset.h
+18
-0
No files found.
src/fontset.h
View file @
7bca5cf2
...
@@ -213,3 +213,21 @@ extern Lisp_Object Vhighlight_wrong_size_font;
...
@@ -213,3 +213,21 @@ extern Lisp_Object Vhighlight_wrong_size_font;
extern
Lisp_Object
Vclip_large_size_font
;
extern
Lisp_Object
Vclip_large_size_font
;
#endif
/* _FONTSET_H */
#endif
/* _FONTSET_H */
extern
int
font_idx_temp
;
/* Load a font named FONTNAME for displaying CHARSET on frame F.
All fonts for frame F is stored in a table pointed by FONT_TABLE.
Return a pointer to the struct font_info of the loaded font.
If loading fails, return 0;
If FONTNAME is NULL, the name is taken from the information of FONTSET.
If FONTSET is given, try to load a font whose size matches that of
FONTSET, and, the font index is stored in the table for FONTSET. */
#define FS_LOAD_FONT(f, font_table, charset, fontname, fontset) \
(fontset >= 0 && fontset < FRAME_FONTSET_DATA (f)->n_fontsets \
&& (font_idx_temp = (FRAME_FONTSET_DATA (f) \
->fontset_table[fontset]->font_indexes[charset]), \
font_idx_temp >= 0) \
? font_table + font_idx_temp \
: fs_load_font (f, font_table, charset, fontname, fontset))
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