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

Issue 4142044: Use real glyph IDs in the win fonthost to better support pdf. (Closed)

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

Description

Use real glyph IDs in the win fonthost to better support pdf.

Patch Set 1 #

Patch Set 2 : Using gcl now to upload #

Total comments: 2

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : Add TODO for supporting values larger than 16bits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -16 lines) Patch
M src/ports/SkFontHost_win.cpp View 1 2 3 4 chunks +9 lines, -16 lines 0 comments Download

Messages

Total messages: 8
reed1
http://codereview.appspot.com/4142044/diff/2001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4142044/diff/2001/src/ports/SkFontHost_win.cpp#newcode224 src/ports/SkFontHost_win.cpp:224: //GetGlyphIndicesW(ddc, (WCHAR*)&uni, 1, &index, 0); This is still commented ...
13 years, 9 months ago (2011-02-09 22:29:40 UTC) #1
Chris Guillory
http://codereview.appspot.com/4142044/diff/2001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4142044/diff/2001/src/ports/SkFontHost_win.cpp#newcode224 src/ports/SkFontHost_win.cpp:224: //GetGlyphIndicesW(ddc, (WCHAR*)&uni, 1, &index, 0); I changed this and ...
13 years, 9 months ago (2011-02-09 22:48:08 UTC) #2
reed1
http://codereview.appspot.com/4142044/diff/5002/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4142044/diff/5002/src/ports/SkFontHost_win.cpp#newcode224 src/ports/SkFontHost_win.cpp:224: GetGlyphIndicesW(ddc, (WCHAR*)&uni, 1, &index, 0); WCHAR is 32bits? I ...
13 years, 9 months ago (2011-02-09 22:53:30 UTC) #3
Chris Guillory
http://codereview.appspot.com/4142044/diff/5002/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/4142044/diff/5002/src/ports/SkFontHost_win.cpp#newcode224 src/ports/SkFontHost_win.cpp:224: GetGlyphIndicesW(ddc, (WCHAR*)&uni, 1, &index, 0); It's 16 bits. typedef ...
13 years, 9 months ago (2011-02-09 22:58:14 UTC) #4
reed1
If it is 16bits, then the code as is is probably wrong. It is quite ...
13 years, 9 months ago (2011-02-09 23:04:21 UTC) #5
Chris Guillory
The current implementation doesn't support values that are larger than 16bit and I've read that ...
13 years, 9 months ago (2011-02-10 00:10:02 UTC) #6
Chris Guillory
http://code.google.com/p/skia/issues/detail?id=144
13 years, 9 months ago (2011-02-10 00:25:22 UTC) #7
reed1
13 years, 9 months ago (2011-02-10 14:46:51 UTC) #8
LGTM
Sign in to reply to this message.

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