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
80a54ca5
Commit
80a54ca5
authored
Nov 24, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipGetFontCollectionFamilyCount and GdipGetFontCollectionFamilyList.
parent
2b8c6fe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
font.c
dlls/gdiplus/font.c
+12
-5
No files found.
dlls/gdiplus/font.c
View file @
80a54ca5
...
...
@@ -854,12 +854,13 @@ GpStatus WINGDIPAPI GdipPrivateAddMemoryFont(GpFontCollection* fontCollection,
GpStatus
WINGDIPAPI
GdipGetFontCollectionFamilyCount
(
GpFontCollection
*
fontCollection
,
INT
*
numFound
)
{
FIXME
(
"stub:
%p, %p
\n
"
,
fontCollection
,
numFound
);
TRACE
(
"
%p, %p
\n
"
,
fontCollection
,
numFound
);
if
(
!
(
fontCollection
&&
numFound
))
return
InvalidParameter
;
return
NotImplemented
;
*
numFound
=
fontCollection
->
count
;
return
Ok
;
}
/*****************************************************************************
...
...
@@ -869,13 +870,19 @@ GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(
GpFontCollection
*
fontCollection
,
INT
numSought
,
GpFontFamily
*
gpfamilies
[],
INT
*
numFound
)
{
FIXME
(
"stub: %p, %d, %p, %p
\n
"
,
fontCollection
,
numSought
,
gpfamilies
,
numFound
);
INT
i
;
TRACE
(
"%p, %d, %p, %p
\n
"
,
fontCollection
,
numSought
,
gpfamilies
,
numFound
);
if
(
!
(
fontCollection
&&
gpfamilies
&&
numFound
))
return
InvalidParameter
;
return
NotImplemented
;
for
(
i
=
0
;
i
<
numSought
&&
i
<
fontCollection
->
count
;
i
++
)
{
gpfamilies
[
i
]
=
fontCollection
->
FontFamilies
[
i
];
}
*
numFound
=
i
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipNewInstalledFontCollection
(
...
...
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