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

Issue 5683078: Provide fallbacks for web fonts. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by caryclark1
Modified:
12 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Provide fallbacks for web fonts. This fixes http://code.google.com/p/chromium/issues/detail?id=114531 Committed: https://code.google.com/p/skia/source/detail?r=3231

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M src/ports/SkFontHost_mac_coretext.cpp View 1 2 5 chunks +38 lines, -2 lines 0 comments Download

Messages

Total messages: 4
caryclark1
12 years, 8 months ago (2012-02-22 21:22:39 UTC) #1
reed1
https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_coretext.cpp File src/ports/SkFontHost_mac_coretext.cpp (right): https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_coretext.cpp#newcode1521 src/ports/SkFontHost_mac_coretext.cpp:1521: CGGlyph glyph; Possible speed-up would be to fill a ...
12 years, 8 months ago (2012-02-22 21:45:32 UTC) #2
caryclark1
https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_coretext.cpp File src/ports/SkFontHost_mac_coretext.cpp (right): https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_coretext.cpp#newcode1521 src/ports/SkFontHost_mac_coretext.cpp:1521: CGGlyph glyph; Seems risky to get right. I'd prefer ...
12 years, 8 months ago (2012-02-22 22:13:06 UTC) #3
reed1
12 years, 8 months ago (2012-02-22 22:53:52 UTC) #4
Maybe we're not talking about the same thing. Here is a sample CL that captures
my idea (though it may not be correct)

https://codereview.appspot.com/5687086

https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_cor...
File src/ports/SkFontHost_mac_coretext.cpp (right):

https://codereview.appspot.com/5683078/diff/2001/src/ports/SkFontHost_mac_cor...
src/ports/SkFontHost_mac_coretext.cpp:1521: CGGlyph glyph;
I'll buy that.

On 2012/02/22 22:13:07, caryclark1 wrote:
> Seems risky to get right. I'd prefer to identify this as a bottleneck before
> optimizing.
> 
> On 2012/02/22 21:45:32, reed1 wrote:
> > Possible speed-up would be to fill a vector of N unichar elements, and call
> this
> > guy N at a time (e.g. N == 64, something where we can put the storage for
the
> > unichars and glyphs on the stack...
>
Sign in to reply to this message.

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