Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90b897f0
Commit
90b897f0
authored
Sep 07, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Sep 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement FontIsLinked.
parent
6557832a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
freetype.c
dlls/gdi/freetype.c
+22
-0
gdi32.spec
dlls/gdi/gdi32.spec
+1
-1
gdi_private.h
dlls/gdi/gdi_private.h
+2
-0
No files found.
dlls/gdi/freetype.c
View file @
90b897f0
...
...
@@ -3531,6 +3531,23 @@ BOOL WineEngGetLinkedHFont(DC *dc, WCHAR c, HFONT *new_hfont, UINT *glyph)
return
ret
;
}
/*************************************************************
* FontIsLinked
*/
BOOL
WINAPI
FontIsLinked
(
HDC
hdc
)
{
DC
*
dc
=
DC_GetDCPtr
(
hdc
);
BOOL
ret
=
FALSE
;
if
(
!
dc
)
return
FALSE
;
if
(
dc
->
gdiFont
&&
!
list_empty
(
&
dc
->
gdiFont
->
child_fonts
))
ret
=
TRUE
;
GDI_ReleaseObj
(
hdc
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
#else
/* HAVE_FREETYPE */
...
...
@@ -3642,4 +3659,9 @@ BOOL WineEngGetLinkedHFont(DC *dc, WCHAR c, HFONT *new_hfont, UINT *glyph)
{
return
FALSE
;
}
BOOL
WINAPI
FontIsLinked
(
HDC
hdc
)
{
return
FALSE
;
}
#endif
/* HAVE_FREETYPE */
dlls/gdi/gdi32.spec
View file @
90b897f0
...
...
@@ -125,7 +125,7 @@
@ stdcall FixBrushOrgEx(long long long ptr)
@ stdcall FlattenPath(long)
@ stdcall FloodFill(long long long long)
# @ stub FontIsLinked
@ stdcall FontIsLinked(long)
@ stdcall FrameRgn(long long long long long)
@ stub FreeImageColorMatcher
# @ stub GdiAddFontResourceW
...
...
dlls/gdi/gdi_private.h
View file @
90b897f0
...
...
@@ -432,3 +432,5 @@ extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
/* Undocumented value for DIB's iUsage: Indicates a mono DIB w/o pal enties */
#define DIB_PAL_MONO 2
#endif
/* __WINE_GDI_PRIVATE_H */
BOOL
WINAPI
FontIsLinked
(
HDC
);
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