Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1195)

Issue 4261042: Implement SkScalerContext_Windows::generateGlyphCount() and provide access vi... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Chris Guillory
Modified:
13 years, 9 months ago
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Implement SkScalerContext_Windows::generateGlyphCount() and provide access via SkGlyphCache interface. * This will be used by PDF font code. Committed: http://code.google.com/p/skia/source/detail?r=888

Patch Set 1 #

Patch Set 2 : Minor after conversation with Steve. #

Total comments: 13

Patch Set 3 : Updated with comments from Brett. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -16 lines) Patch
M include/core/SkScalerContext.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkGlyphCache.cpp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkScalerContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_ascender.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_mac_atsui.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_mac_coretext.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 5 chunks +36 lines, -5 lines 0 comments Download

Messages

Total messages: 17
Chris Guillory
13 years, 10 months ago (2011-03-03 00:02:30 UTC) #1
Chris Guillory
Brett can you take a quick peek at src/ports/SkFontHost_win.cpp?
13 years, 10 months ago (2011-03-03 00:07:53 UTC) #2
reed1
Does the PDF code have access to SkGlyphCache? http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_ascender.cpp File src/ports/SkFontHost_ascender.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_ascender.cpp#newcode105 src/ports/SkFontHost_ascender.cpp:105: unsigned ...
13 years, 10 months ago (2011-03-03 12:45:59 UTC) #3
Chris Guillory
On 2011/03/03 12:45:59, reed1 wrote: > Does the PDF code have access to SkGlyphCache? PDF ...
13 years, 9 months ago (2011-03-03 17:55:17 UTC) #4
reed1
Then perhaps we should make the base class not implement it? On Thu, Mar 3, ...
13 years, 9 months ago (2011-03-03 18:14:39 UTC) #5
Chris Guillory
On 2011/03/03 18:14:39, reed1 wrote: > Then perhaps we should make the base class not ...
13 years, 9 months ago (2011-03-03 18:26:29 UTC) #6
reed1
Ah, thanks. On Thu, Mar 3, 2011 at 1:26 PM, <ctguil@chromium.org> wrote: > On 2011/03/03 ...
13 years, 9 months ago (2011-03-03 18:29:38 UTC) #7
brettw
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { I think the way this is ...
13 years, 9 months ago (2011-03-03 18:43:05 UTC) #8
reed1
The glyphCount in the maxp table is the count, not the highest index. i.e. if ...
13 years, 9 months ago (2011-03-03 18:45:10 UTC) #9
reed1
I fine with this, modulo brett approving or amending the impl in fonthost_win
13 years, 9 months ago (2011-03-03 20:39:29 UTC) #10
Chris Guillory
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { On 2011/03/03 18:43:05, brettw1 wrote: > ...
13 years, 9 months ago (2011-03-03 21:09:14 UTC) #11
brettw
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { Let's say 3 is the last ...
13 years, 9 months ago (2011-03-03 21:39:49 UTC) #12
reed1
Not sure why we want to look at other tables like hdmx. If its a ...
13 years, 9 months ago (2011-03-03 21:49:52 UTC) #13
Chris Guillory
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { On 2011/03/03 21:39:49, brettw1 wrote: > ...
13 years, 9 months ago (2011-03-03 22:16:31 UTC) #14
brettw
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { You win :) And this value ...
13 years, 9 months ago (2011-03-03 22:37:37 UTC) #15
Chris Guillory
http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4261042/diff/3001/src/ports/SkFontHost_win.cpp#newcode252 src/ports/SkFontHost_win.cpp:252: unsigned SkScalerContext_Windows::generateGlyphCount() { On 2011/03/03 22:37:37, brettw wrote: > ...
13 years, 9 months ago (2011-03-04 01:49:24 UTC) #16
brettw
13 years, 9 months ago (2011-03-04 06:06:04 UTC) #17
LGTM (I only looked at the _win file)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b