This is more or less how webfonts are currently handled in Chromium, but the code ...
12 years, 7 months ago
(2012-02-06 20:26:01 UTC)
#1
This is more or less how webfonts are currently handled in Chromium, but the
code is now in Skia and cleaned up a bit.
Note that the test as written here will not be able to go in with this change,
as CreateTypefaceFromStream needs to be implemented in the CG fonthost as well.
The one detraction from all of this is that when a typeface created from a
stream is unrefed to 1 we want to remove it immediately from the cache instead
of waiting for the cache to eventually let it go.
hmmm. can we move the renaming functionality into its own file? http://codereview.appspot.com/5616047/diff/16001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (left): ...
12 years, 3 months ago
(2012-05-17 20:59:34 UTC)
#3
Additionally, I will take a look at splitting this out into another file http://codereview.appspot.com/5616047/diff/16001/src/ports/SkFontHost_win.cpp File ...
12 years, 3 months ago
(2012-05-17 21:46:19 UTC)
#4
Perhaps a little less ugly now? http://codereview.appspot.com/5616047/diff/24001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/5616047/diff/24001/src/ports/SkFontHost_win.cpp#newcode1386 src/ports/SkFontHost_win.cpp:1386: */ On 2012/05/18 ...
12 years, 3 months ago
(2012-05-18 18:34:48 UTC)
#7
Issue 5616047: CreateTypefaceFromStream for GDI.
(Closed)
Created 12 years, 7 months ago by bungeman
Modified 12 years, 3 months ago
Reviewers: reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 13