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
7a9ef2ed
Commit
7a9ef2ed
authored
May 14, 2008
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(struct w32font_info): New member.
(FONT_COMPAT): New macro. (w32font_open_internal): Prototype adjusted.
parent
bce485cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/w32font.h
src/w32font.h
+4
-1
No files found.
src/w32font.h
View file @
7a9ef2ed
...
...
@@ -55,8 +55,11 @@ struct w32font_info
unsigned
int
glyph_idx
;
struct
w32_metric_cache
**
cached_metrics
;
int
n_cache_blocks
;
W32FontStruct
*
compat_w32_font
;
};
#define FONT_COMPAT(f) (((struct w32font_info *) (f))->compat_w32_font)
#define CACHE_BLOCKSIZE 128
Lisp_Object
w32font_get_cache
P_
((
FRAME_PTR
fe
));
...
...
@@ -67,7 +70,7 @@ Lisp_Object w32font_match_internal P_ ((Lisp_Object frame,
Lisp_Object
font_spec
,
int
opentype_only
));
int
w32font_open_internal
P_
((
FRAME_PTR
f
,
Lisp_Object
font_entity
,
int
pixel_size
,
struct
w32font_info
*
w32_fon
t
));
int
pixel_size
,
Lisp_Object
font_objec
t
));
void
w32font_close
P_
((
FRAME_PTR
f
,
struct
font
*
font
));
int
w32font_has_char
P_
((
Lisp_Object
entity
,
int
c
));
int
w32font_text_extents
P_
((
struct
font
*
font
,
unsigned
*
code
,
int
nglyphs
,
...
...
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