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

Issue 5731046: Check to see if font is TrueType before making TrueType specific calls. (Closed)

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

Description

Check to see if font is TrueType before making TrueType specific calls. See chromium bug 116185 Committed: https://code.google.com/p/skia/source/detail?r=3309

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

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

Messages

Total messages: 4
caryclark1
12 years, 4 months ago (2012-03-02 20:31:49 UTC) #1
reed1
lgtm
12 years, 4 months ago (2012-03-02 20:35:50 UTC) #2
Steve VanDeBogart
https://codereview.appspot.com/5731046/diff/1/src/ports/SkFontHost_mac_coretext.cpp File src/ports/SkFontHost_mac_coretext.cpp (right): https://codereview.appspot.com/5731046/diff/1/src/ports/SkFontHost_mac_coretext.cpp#newcode1641 src/ports/SkFontHost_mac_coretext.cpp:1641: if (!GetTableSize(fontID, 'glyf')) { Arthur (who ported the sfntly ...
12 years, 4 months ago (2012-03-02 20:40:09 UTC) #3
reed1
12 years, 4 months ago (2012-03-02 20:44:03 UTC) #4
Steve, as the code in question is in your domain, feel free to change
the table we check for to whatever you think is best.

On Fri, Mar 2, 2012 at 3:40 PM,  <vandebo@chromium.org> wrote:
>
>
https://codereview.appspot.com/5731046/diff/1/src/ports/SkFontHost_mac_corete...
> File src/ports/SkFontHost_mac_coretext.cpp (right):
>
>
https://codereview.appspot.com/5731046/diff/1/src/ports/SkFontHost_mac_corete...
> src/ports/SkFontHost_mac_coretext.cpp:1641: if (!GetTableSize(fontID,
> 'glyf')) {
> Arthur (who ported the sfntly code to C++) says that non-ttf fonts could
> have a glyf table, but only ttf should have a loca table.
>
> If you want to consult a font expert, he suggests stuartg, who used to
> work on Acrobat.
>
> https://codereview.appspot.com/5731046/
Sign in to reply to this message.

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