Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FreeType
FreeType
Commits
9abc0cd9
Commit
9abc0cd9
authored
Oct 12, 2000
by
David Turner
Browse files
the function FTC_Manager_Lookup_Size will return a valid
FT_Face handle, even if no size was found..
parent
18ab99fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cache/ftcmanag.c
View file @
9abc0cd9
...
...
@@ -332,7 +332,6 @@
{
FTC_FontRequest
req
;
FT_Error
error
;
FT_Face
face
;
/* check for valid `manager' delayed to FTC_Manager_Lookup_Face() */
...
...
@@ -343,13 +342,13 @@
if
(
asize
)
*
asize
=
0
;
error
=
FTC_Manager_Lookup_Face
(
manager
,
font
->
face_id
,
&
face
);
error
=
FTC_Manager_Lookup_Face
(
manager
,
font
->
face_id
,
a
face
);
if
(
!
error
)
{
FT_Size
size
;
req
.
face
=
face
;
req
.
face
=
*
a
face
;
req
.
width
=
font
->
pix_width
;
req
.
height
=
font
->
pix_height
;
...
...
@@ -363,9 +362,6 @@
if
(
asize
)
*
asize
=
size
;
if
(
aface
)
*
aface
=
face
;
}
}
...
...
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