2013-05-01から1ヶ月間の記事一覧
GlyphPage::size 78 static const size_t size = 256; // Covers Latin-1 in a single page. 65 const UChar noBreakSpace = 0x00A0; 75 const UChar softHyphen = 0x00AD; 76 const UChar space = 0x0020; 61 const UChar leftToRightMark = 0x200E; 66 con…
呼び出し履歴 sfnt_load_face tt_face_init open_face FT_Open_Face find_name_and_attributes NameAndStyle initSystemFontsLocked() 834 /*********************************************************************/ 835 /* */ 836 /* Compute style flags.…
utf16版のようだ。 月の杜工房 - expat
$ adb root $ adb shell ps | grep system_server $ gdbclient app_process :5039 5078 (gdb) b SkFontHost::CreateTypeface (gdb) c (gdb) b SkFontHost::CreateTypeface (gdb) b SkFontHost::GetAdvancedTypefaceMetrics (gdb) b SkGlyphCache::lookupMetr…
451 static FallbackFontList* getFallbackFontListLocked(const SkLanguage& lang); 452 static void dumpGlobalsLocked() { 453 SkDebugf("gDefaultNormal=%p id=%u refCnt=%d", gDefaultNormal, 454 gDefaultNormal ? gDefaultNormal->uniqueID() : 0, 45…
build/envsetup.shのgdbclientをコピーしてgdbclient2を作成する。 function gdbclient2() { 〜〜〜〜〜〜gdbclientと同じなので省略〜〜〜〜〜 echo >|"$OUT_ROOT/gdbclient.cmds" "set solib-absolute-prefix $OUT_SYMBOLS" echo >>"$OUT_ROOT/gdbclient.c…
$ . build/envsetup.sh $ lunch 12 $ adb shell ps | grep system_server system 404 129 580772 62000 ffffffff 00000000 S system_server $ gdbclient app_process :5039 404 (app_processのPID)$cd ~/JB422R1/ <= 例 初期設定ファイル $cp ./out/target…
165 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) { 166 SkScalerContext* ctx = this; 167 for (;;) { 168 glyphID = ctx->generateCharToGlyph(uni); 169 if (glyphID) { 170 break; // found it 171 } 172 c…
98 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { 99 VALIDATE(); 100 uint32_t id = SkGlyph::MakeID(charCode); 101 const CharGlyphRec& rec = fCharToGlyphHash[ID2HashIndex(id)]; <===== kHashCount = 0x1000の配列 102 103 if (rec.f…
127 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 128 { 129 SkASSERT(sizeof(glyph) == 2); // compile-time assert 130 131 SkPaint paint; 132 133 m_platformData.setupPaint(&paint); 134 135 float advanceWidth; 136 if (EmojiFo…
236 SkGlyph* SkGlyphCache::lookupMetrics(uint32_t id, MetricsType mtype) { 237 SkGlyph* glyph; 238 239 int hi = 0; 240 int count = fGlyphArray.count(); 241 242 if (count) { 243 SkGlyph** gptr = fGlyphArray.begin(); 244 int lo = 0; 245 246 …
37 struct SkGlyph { 38 void* fImage; 39 SkPath* fPath; 40 SkFixed fAdvanceX, fAdvanceY; 41 42 uint32_t fID; 43 uint16_t fWidth, fHeight; 44 int16_t fTop, fLeft; 45 46 uint8_t fMaskFormat; 47 int8_t fRsbDelta, fLsbDelta; // used by auto-ker…
905 SkScalar SkPaint::measure_text(SkGlyphCache* cache, 906 const char* text, size_t byteLength, 907 int* count, SkRect* bounds) const { 908 SkASSERT(count); 909 if (byteLength == 0) { 910 *count = 0; 911 if (bounds) { 912 bounds->setEmpty…
/external/webkit/Source/WebCore/platform/graphics/SimpleFontData.cpp" 50 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, bool isCustomFont, bool isLoading, bool isTextOrientationFallback) 51 : m_maxCharWidth(-1) 52 , m…
968 void LayerAndroid::onDraw(SkCanvas* canvas, SkScalar opacity, 969 android::DrawExtra* extra, PaintStyle style) 970 { 971 if (m_haveClip) { 972 SkRect r; 973 r.set(0, 0, getSize().width(), getSize().height()); 974 canvas->clipRect(r); 9…
377 #if !OS(WINCE) || PLATFORM(QT) 378 void GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to) 379 { 380 if (paintingDisabled()) 381 return; 382 383 font.drawText(this, run, point, fr…
190 void Font::drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, 191 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, 192 const FloatPoint& point) const 193 { 194 // compile-time assert 195 SkASSERT(sizeof(GlyphBufferGlyp…
979 SkScalar SkPaint::measureText(const void* textData, size_t length, 980 SkRect* bounds, SkScalar zoom) const { 981 const char* text = (const char*)textData; 982 SkASSERT(text != NULL || length == 0); 983 984 SkScalar scale = 0; 985 SkAu…
905 SkScalar SkPaint::measure_text(SkGlyphCache* cache, 906 const char* text, size_t byteLength, 907 int* count, SkRect* bounds) const { 908 SkASSERT(count); 909 if (byteLength == 0) { 910 *count = 0; 911 if (bounds) { 912 bounds->setEmpty…
669 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, 670 const char** text) { 671 SkASSERT(cache != NULL); 672 SkASSERT(text != NULL); 673 674 return cache->getUnicharAdvance(SkUTF8_NextUnichar(text)); 675 } 676 677 stati…
236 SkGlyph* SkGlyphCache::lookupMetrics(uint32_t id, MetricsType mtype) { 237 SkGlyph* glyph; 238 239 int hi = 0; 240 int count = fGlyphArray.count(); 241 242 if (count) { 243 SkGlyph** gptr = fGlyphArray.begin(); 244 int lo = 0; 245 246 …
117 static SkScalerContext* allocNextContext(const SkScalerContext::Rec& rec) { 118 // fonthost will determine the next possible font to search, based 119 // on the current font in fRec. It will return NULL if ctx is our 120 // last font t…
83 /** 84 * Handler for font files. This processes the attributes for language and 85 * variants then lets textHandler handle the actual file name 86 */ 87 void fontFileElementHandler(FamilyData *familyData, const char **attributes) { 88 F…
public void setTextLocale (Locale locale)Added in API level 17 Set the text locale. The text locale affects how the text is drawn for some languages. For example, if the locale is CHINESE or CHINA, then the text renderer will prefer to dra…
675 enum FontVariant { 676 kDefault_Variant, // Currently setting yourself to Default gives you Compact Variant 677 kCompact_Variant, 678 kElegant_Variant, 679 kLast_Variant = kElegant_Variant, 680 };
repo syncがエラーになる。 $ repo sync -j1 Fetching projects: 0% (2/328) fatal: git fetch_pack: expected ACK/NAK, got 'error: Internal server error' fatal: The remote end hung up unexpectedly fatal: git fetch_pack: expected ACK/NAK, got '…