のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2015-01-01から1ヶ月間の記事一覧

図解 頭がいい人はなぜ、方眼ノートを使うのか?

ノートをどうやって取るのか、今まで特に考えもなく写していた。 何のためにノートをとるのか、もう一度、考えなおすきっかけになった。頭がいい人はなぜ、方眼ノートを使うのか?作者: 高橋政史出版社/メーカー: かんき出版発売日: 2014/05/26メディア: 単行…

The resource appears to be unused

Android Lint - How to hide a warning 'The resource Xxx appears to be unused'

Not annotated parameter overrides @NonNull parameter

Android Studio error: Not annotated parameter overrides @NotNull parameter

ndk 64bit

Androidでの話です。 ARMの64ビット用にビルドする方法を調べました。arm64-v8aをApplication.mkへ追加すればいいようです。 android-ndk-r10dのdocsのABI Management file:///D:/android-ndk-r10d/docs/Programmers_Guide/html/md_3__key__topics__c_p_u__s…

DataStore.edb

Windowsでの話です。 ハードディスクの空き容量がなくなってきたので、削除できそうなファイルを探しました。 net stop "wuauserv" del c:\windows\SoftwareDistribution\DataStore\DataStore.edb del /Q c:\windows\SoftwareDistribution\DataStore\Logs\*.…

LGMobile Support Toolで「プログラムの更新を確認中です。」のメッセージが繰り返し実行される。

モバイルルータでの話です。モバイルルータ(L-03E)に、アップデートのアイコンが点灯するようになった。 LGのページのダウンロードでソフトウェア更新をクリックした。 USBドライバとツール(LG MOBILE SUPPORTツール)をダウンロードした。 http://www.lg.com…

ipadから、Chrome リモートデスクトップで接続したところ、黒い画面のままになる。

IPADとWindows7での話です。Windows7の画面をipadで操作するために、Chromeリモートデスクトップを起動した。 マウスの操作はできる。しかし、画面が出ずに真っ黒のままであった。Windows7の画面の解像度からディスプレイの設定を変更してみた。 「デスクト…

Android Gerrit 検索方法

コミットメッセージ内の検索(message:) message:japanese message:font message:typeface message:FontFamily ファイル名での検索(f:) f:Typeface.java f:Typeface.cpp f:TypefaceImpl.h FontFamily.cpp f:Paint.cpp プロジェクト名での検索(project:) proje…

TypefaceImpl

29 struct TypefaceImpl { 30 FontCollection *fFontCollection; 31 32 // style used for constructing and querying Typeface objects 33 SkTypeface::Style fSkiaStyle; 34 // base weight in CSS-style units, 100..900 35 int fBaseWeight; 36 37 // re…

setTypeface

1060 public Typeface setTypeface(Typeface typeface) { 1061 long typefaceNative = 0; 1062 if (typeface != null) { 1063 typefaceNative = typeface.native_instance; 1064 } 1065 native_setTypeface(mNativePaint, typefaceNative); 1066 mTypeface =…

FontFamily

32 public FontFamily() { 33 mNativePtr = nCreateFamily(null, 0); 34 if (mNativePtr == 0) { 35 throw new IllegalStateException("error creating native FontFamily"); 36 } 37 } 39 public FontFamily(String lang, String variant) { 40 int varEnum…

hb_ot_shape_collect_features

44 static hb_tag_t common_features[] = { 45 HB_TAG('c','c','m','p'), 46 HB_TAG('l','i','g','a'), 47 HB_TAG('l','o','c','l'), 48 HB_TAG('m','a','r','k'), 49 HB_TAG('m','k','m','k'), 50 HB_TAG('r','l','i','g'), 51 }; 54 static hb_tag_t horiz…

hb_icu_get_unicode_funcs

406 static hb_script_t codePointToScript(hb_codepoint_t codepoint) { 407 static hb_unicode_funcs_t* u = 0; 408 if (!u) { 409 u = hb_icu_get_unicode_funcs(); 410 } 411 return hb_unicode_script(u, codepoint); 412 } 423 hb_script_t 424 hb_uni…

HB_COMPLEX_SHAPER_IMPLEMENT

53 /* Master OT shaper list */ 54 #define HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS \ 55 HB_COMPLEX_SHAPER_IMPLEMENT (default) /* should be first */ \ 56 HB_COMPLEX_SHAPER_IMPLEMENT (arabic) \ 57 HB_COMPLEX_SHAPER_IMPLEMENT (hangul) \ 58 HB_COM…

harfbuzzGetGlyph

341 hb_font_funcs_t* getHbFontFuncs() { 342 static hb_font_funcs_t* hbFontFuncs = 0; 343 344 if (hbFontFuncs == 0) { 345 hbFontFuncs = hb_font_funcs_create(); 346 hb_font_funcs_set_glyph_func( hbFontFuncs, harfbuzzGetGlyph, 0, 0); 347 hb_f…

harfbuzz-ng

79 static hb_bool_t harfbuzzGetGlyph( hb_font_t* hbFont, void* fontData, hb_codepoint_t unicode, hb_codepoint_t variationSelector, hb_codepoint_t* glyph, void* userData) 80 { 81 HarfBuzzFontData* hbFontData = reinterpret_cast<HarfBuzzFontData*>(fontData); 82</harfbuzzfontdata*>…

hb_font_set_funcs

163 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { 164 hb_font_t* font = hb_font_create(face); 165 166 // Note: this needs to be reworked when we do subpixels 167 int x_ppem = floor(sizeX + 0.5); 168 int…

Typeface

/frameworks/base/graphics/java/android/graphics/Typeface.java/frameworks/base/core/jni/android/graphics/Typeface.cpp /frameworks/base/core/jni/android/graphics/TypefaceImpl.cpp /frameworks/base/core/jni/android/graphics/TypefaceImpl.h/fram…

MinikinFontSkia::populateSkPaint

118 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, FontFakery fakery) { 119 paint->setTypeface(reinterpret_cast<const MinikinFontSkia*>(font)->GetSkTypeface()); 120 paint->setFakeBoldText(paint->isFakeBoldText() || fakery.isFakeBol</const>…

MinikinFontSkia

50 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { 51 MinikinFont* minikinFont = new MinikinFontSkia(face); 52 bool result = family->addFont(minikinFont); 53 minikinFont->Unref(); 54 return result; 55 } 27 MinikinFont…

android::MinikinFont Class

android::MinikinFont Class android::MinikinFontSkia Class /frameworks/base/core/jni/android/graphics/MinikinSkia.cpp http://tools.oesf.biz/android-5.0.1_r1.0/xref/frameworks/base/core/jni/android/graphics/MinikinSkia.cpp#35