Scala
Window>Preferences>Editor>Scalabilityの設定で、Scalability Mode SettingsがEnableになっていた。 そのため、HighlightがDisableになるようになっていた。 There is also a scalability mode which disable syntax highlighting if the file has more th…
mbp01:~ m_fujii$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. T…
GLES20Canvas>jni>android_viewGLES20Canvas>hwuiまでの流れ
skia cmapその1
この辺とおるのかな? external/skia/src/core/SkPictureRecord.cpp 564 void SkPictureRecord::drawPosText(const void* text, size_t byteLength, 565 const SkPoint pos[], const SkPaint& paint) { 566 size_t points = paint.countText(text, byteLengt…
その3
1805 void SkPaint::descriptorProc(const SkDeviceProperties* deviceProperties, 1806 const SkMatrix* deviceMatrix, 1807 void (*proc)(const SkDescriptor*, void*), 1808 void* context, bool ignoreGamma) const { 1809 SkScalerContext::Rec rec; 18…
400 already_AddRefed<gfxFont> 401 gfxFT2FontGroup::WhichSystemFontSupportsChar(PRUint32 aCh, PRInt32 aRunScript) 402 { 404 FontEntry *fe = static_cast<FontEntry*> 405 (gfxPlatformFontList::PlatformFontList()-> 406 SystemFindFontForChar(aCh, aRunScript, &mStyle</fontentry*></gfxfont>…
1875 void SkPaint::unflatten(SkFlattenableReadBuffer& buffer) { 1876 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); 1877 const void* podData = buffer.skip(kPODPaintSize); 1878 const uint32_t* pod = reinterpret_cast<const uint32_t*>(podData); 1879 1880</const>…
デバッグ(SK_DEBUG_DUMP)を有効にしたところ #define SK_DEBUG_DUMP #define DUMP_BUFFER_SIZE 65536 //#include "SkBuffer.h" // readPtr <=関係ないみたいだ。エラーが発生。 error: 'class SkFlattenableReadBuffer' has no member named 'readPtr' 117…
341 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOverflow*) const 342 { 343 SkPaint paint; 344 345 primaryFont()->platformData().setupPaint(&paint); 346 347 //printf("--------- complext measure %d chars\n", run.t</const>…
323 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run, 324 FloatPoint const& point, int, int) const 325 { 326 SkCanvas* canvas = gc->platformContext()->mCanvas; 327 SkPaint paint; 328 329 if (!setupForText(&paint, gc, prim…
334 static const char* viewportErrorMessageTemplate(ViewportErrorCode errorCode) 335 { 336 static const char* const errors[] = { 337 "Viewport argument key \"%replacement1\" not recognized and ignored.", 338 "Viewport argument value \"%rep…
164 class SkScalerContext { 165 public: 207 322 protected: 323 Rec fRec; 324 unsigned fBaseGlyphCount; 325 339 private: 342 SkPathEffect* fPathEffect; 343 SkMaskFilter* fMaskFilter; 344 SkRasterizer* fRasterizer; 345 SkScalar fDevFrameWidt…
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…
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…
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…
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…