Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: include/core/SkTypeface.h

Issue 563283004: Use per-typeface sets of glyphs for nvpr text (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_glyphmemorypath
Patch Set: Fix builds Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkPaint.h ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkTypeface_DEFINED 10 #ifndef SkTypeface_DEFINED
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 virtual LocalizedStrings* onCreateFamilyNameIterator() const = 0; 321 virtual LocalizedStrings* onCreateFamilyNameIterator() const = 0;
322 322
323 virtual int onGetTableTags(SkFontTableTag tags[]) const = 0; 323 virtual int onGetTableTags(SkFontTableTag tags[]) const = 0;
324 virtual size_t onGetTableData(SkFontTableTag, size_t offset, 324 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
325 size_t length, void* data) const = 0; 325 size_t length, void* data) const = 0;
326 326
327 private: 327 private:
328 friend class SkGTypeface; 328 friend class SkGTypeface;
329 friend class SkPDFFont; 329 friend class SkPDFFont;
330 friend class SkPDFCIDFont; 330 friend class SkPDFCIDFont;
331 friend class GrPathRendering;
332 friend class GrGLPathRendering;
331 333
332 /** Retrieve detailed typeface metrics. Used by the PDF backend. 334 /** Retrieve detailed typeface metrics. Used by the PDF backend.
333 @param perGlyphInfo Indicate what glyph specific information (advances, 335 @param perGlyphInfo Indicate what glyph specific information (advances,
334 names, etc.) should be populated. 336 names, etc.) should be populated.
335 @param glyphIDs For per-glyph info, specify subset of the font by 337 @param glyphIDs For per-glyph info, specify subset of the font by
336 giving glyph ids. Each integer represents a glyph 338 giving glyph ids. Each integer represents a glyph
337 id. Passing NULL means all glyphs in the font. 339 id. Passing NULL means all glyphs in the font.
338 @param glyphIDsCount Number of elements in subsetGlyphIds. Ignored if 340 @param glyphIDsCount Number of elements in subsetGlyphIds. Ignored if
339 glyphIDs is NULL. 341 glyphIDs is NULL.
340 @return The returned object has already been referenced. 342 @return The returned object has already been referenced.
(...skipping 13 matching lines...) Expand all
354 356
355 friend class SkPaint; 357 friend class SkPaint;
356 friend class SkGlyphCache; // GetDefaultTypeface 358 friend class SkGlyphCache; // GetDefaultTypeface
357 // just so deprecated fonthost can call protected methods 359 // just so deprecated fonthost can call protected methods
358 friend class SkFontHost; 360 friend class SkFontHost;
359 361
360 typedef SkWeakRefCnt INHERITED; 362 typedef SkWeakRefCnt INHERITED;
361 }; 363 };
362 364
363 #endif 365 #endif
OLDNEW
« no previous file with comments | « include/core/SkPaint.h ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698