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

Side by Side Diff: source/test/letest/SimpleFontInstance.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 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 | « source/test/letest/SimpleFontInstance.h ('k') | source/test/letest/cletest.vcxproj » ('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 * 3 *
4 * Copyright (C) 1999-2014, International Business Machines 4 * Copyright (C) 1999-2015, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: SimpleFontInstance.cpp 8 * file name: SimpleFontInstance.cpp
9 * 9 *
10 * created on: 03/30/2006 10 * created on: 03/30/2006
11 * created by: Eric R. Mader 11 * created by: Eric R. Mader
12 */ 12 */
13 13
14 #include "unicode/utypes.h" 14 #include "unicode/utypes.h"
(...skipping 19 matching lines...) Expand all
34 fDescent = (le_int32) yUnitsToPoints(600.0); 34 fDescent = (le_int32) yUnitsToPoints(600.0);
35 35
36 return; 36 return;
37 } 37 }
38 38
39 SimpleFontInstance::~SimpleFontInstance() 39 SimpleFontInstance::~SimpleFontInstance()
40 { 40 {
41 // nothing to do... 41 // nothing to do...
42 } 42 }
43 43
44 const void *SimpleFontInstance::getFontTable(LETag tableTag) const 44 const void *SimpleFontInstance::getFontTable(LETag tableTag, size_t &length) con st
45 { 45 {
46 length = -1; // unknown for this test.
46 #ifndef USING_ICULEHB 47 #ifndef USING_ICULEHB
47 if (tableTag == LE_GSUB_TABLE_TAG) { 48 if (tableTag == LE_GSUB_TABLE_TAG) {
48 return CanonShaping::glyphSubstitutionTable; 49 return CanonShaping::glyphSubstitutionTable;
49 } 50 }
50 51
51 if (tableTag == LE_GDEF_TABLE_TAG) { 52 if (tableTag == LE_GDEF_TABLE_TAG) {
52 return CanonShaping::glyphDefinitionTable; 53 return CanonShaping::glyphDefinitionTable;
53 } 54 }
54 #endif 55 #endif
55 return NULL; 56 return NULL;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 float SimpleFontInstance::getScaleFactorY() const 129 float SimpleFontInstance::getScaleFactorY() const
129 { 130 {
130 return 1.0; 131 return 1.0;
131 } 132 }
132 133
133 le_bool SimpleFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointN umber*/, LEPoint &/*point*/) const 134 le_bool SimpleFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointN umber*/, LEPoint &/*point*/) const
134 { 135 {
135 return FALSE; 136 return FALSE;
136 } 137 }
137 138
OLDNEW
« no previous file with comments | « source/test/letest/SimpleFontInstance.h ('k') | source/test/letest/cletest.vcxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698