ラベル Google の投稿を表示しています。 すべての投稿を表示
ラベル Google の投稿を表示しています。 すべての投稿を表示

2016年3月26日土曜日

F.lux

xFlux


Linux版の f.lux です。緯度などを入力して起動すると夕方になるとモニターの表示がやさしくなって目が疲れません。ちょっとしたツールだけど便利です。長時間ディスプレイを眺めていると疲れるんですよね。

2015年12月28日月曜日

寒い時には映画を!

寒い時には映画を観ましょう!


次のリンクから Play Store を開くと2015年で人気があった作品が無料でレンタル出来ます。
https://t.co/I4qRfgpboy

また、こっちからリンクをたどると75% Offでレンタル出来ます。寒い時にはのんびりと映画でもみてましょう。

冬には読書を!

冬には読書をしましょう!


Google Play でコミックなどが無料で公開されています。結構な頻度でラインナップは変更されるので、日々チェックするのが良さそうです。

Google Play で不満があれとすればまとめての購入が出来ないことでしょうか。購入する書籍が多くなってくると、1つ々購入していくのは結構疲れます。

2015年10月7日水曜日

へーそうなんだNexus6のブートローダロックについて

へーそうなんだ

さあAndroid – Marshmallowが公開されましたね。OTAは来週からスタートになると思いますが、既にファクトリーイメージは公開されています。最初は素直にOTAを待とうと思ったのですが、ファクトリーイメージが並んでいるページを見ているとやっぱりアップデートしたくなってしまってアップデートしちゃいました。

それで始めて知ったのですがNexus 6ってfastboot oem lockでもデータ消去されるんですね。これまでのNexusではunlockではデータ消去されたけどlockでは消去されなかったので驚きました。そもそも再度ブートローダをロックする必要があるのかと問われると、それは趣味の問題でしかありません。

私と同じようにロックが外れたロゴが出るのが嫌で(これだけの理由ではないけど)ブートローダを再度ロックする方は注意しましょう。

久しぶりの更新がGentooネタでなくてごめんなさい…

2015年8月30日日曜日

Moto 360 (Android Wear)にOTA

Moto 360にOTA来ました

もうちょっと時間かかるかと思ってたのですが意外と早く来ました。注意点としてはバッテリー残量が80%ないとアップデートされないことです。アップデートが無事終了すると噂になって翻訳を使ってみました。

 暗いところで撮影したので見辛いかもしれませんがちゃんと「Translate」とあるのが分かると思います。そのしたには色々と新しくなったHangoutsが見えてますが、今回は紹介しません。

マイクボタンをタップして喋ればこの場合は英語に翻訳されます。翻訳元、翻訳先言語を変更することも可能です。変更したい方をタップすると画面が言語を選択するのに変更されるので、必要とするものを選んでください。


さいごにこれはおまけです。私が普段使っているFace Watchです。Moto 360 に標準でついているものです。

2015年8月14日金曜日

システムファイルを変更している「Stagefright」のOTAについて

「Stagefright」のOTAについて

大きな OTA だとシステムファイルを変更している場合はOTAが適用出来ないのですが、手元の複数台の Nexus で確認したところ、このサイトでも紹介しているフォント定義ファイルを変更していても、OTA は問題なく適用できるようです。

再度ファクトリーイメージからだと「ねこあつめ」をしているのでどうしたものかなぁと思ってました。公式ページを見てもデータを移す方法が無いようなので。

2015年7月15日水曜日

Moto 360購入した。

Android wear購入

以前から欲しいと思っていたMoto 360を買いました。 最近はドルに対して円安になっていますが、Amazonで並行輸入の価格を見るとボッタクリのような値段になっています。 Amazon.comで購入したらいくら程度なのだろうと、カートに入れて出来るだけ早く届けてもらうように発送プランを 選択しても、Amazon.co.jpで取り扱いしている価格より安くなりました。

送料込みで$234.50 でした。月曜日の夕方に届くとなっているので今からウキウキしています。 正確には購入したのは Motorola Moto 360 - Dark Metal, 23mm, Smart Watch です。レザーは評価で 汗に弱いってのがあったのでメタルバンドにしました。もうメタルバンドにしてもAmazon.co.jpより お買い得なんですから、本当に驚きです。

外見など

実際には商品が手元に届いてから、改めて紹介しますが私が今回購入したのは下記の物になります。

Moto 360 Metal Black

メタルバンドカッコいいですよねぇ。

ところで何をインストールすればいいの?

私にとってスマートウォッチというものは初めてで、アプリなど何を利用して良いのか全く分かってません。 これは入れておいたほうが良いよって物があれば、教えて下さい。ちなみに母艦(?)はNexus 6です。

今後について

今後は使用感などをこのブログに掲載して行きたいと思っています。すでに分かっていることといえばアップデートしたけれども バッテリーの持ち具合に心配があるということでしょうか?

また、一部のレビューで充電中にディスプレイをオンにしておくと焼き付くというのもあって気になってます。 ただ最新のアップデートでこの問題は解消されたとも報告されているのですが、充電するときはディスプレイオフにしておこうと 考えています。

2015年6月29日月曜日

FeedlyのGoogle Now Card

RSSリーダであるFeedlyはAndroidアプリのバージョンが27になったときに朝7時にGoogle Now Cardを表示するってことでしたが、昨日までいっこうに表示されることはなかったのですが、Feedlyアプリのバージョンはそのままで今日カードが表示されていました。

便利かと聞かれるとRSSは基本的に全部見ているため目新しいものは無いので、それほど便利ってことはなく、こんな記事あったなぁーって感じだけです。でも、あった方が何かと楽しいです。

2015年6月4日木曜日

Touch to Searchが有効になった。

AndroidのChromeでの新しい機能 Touch to Search が有効になりました。


文字を選択して上記画像のように気になったことを画面遷移することなく調べることが出来るのは、便利だと少し使ってみただけで実感出来ました。

ただ、まだ全ユーザでこの機能が有効になっているようでは無いようです。
まあ最終的には全ユーザで有効になると思うのであせらずに待ちましょう。

Nexus 6 に来た Android 5.1.1

所有している Nexus 6 に以下ようなものが来ました。



徐々に公開されていっているようですね。ちなみにファクトリーイメージは各米国キャリア向けのが公開されていますが、グローバルモデルのものについては現在、まだ公開されてないようです。

2015年6月2日火曜日

Nexus 6!

Nexus 6と言えば巷ではファブレットと言われている端末ですが、両手で文字を入力するのでそれほど困ってません。タイプ部分が広くて両手で入力するにはいい感じだと個人的には思っています。

やっぱり端末の言語設定を英語にしていると日本語が中華フォントで表示されるのでこれは修正してます。修正方法はまたの機会に商会死体と思います。ただ、もうすぐAndroid 5.1.1がくると思うのでいじらない方が良いと思います。

いじってしまうとOTAで降ってきても適用できなくなります。

あと不満はアンテナの掴みが悪くて、思っているよりバッテリーの消費が激しいところでしょうか。まあ、これもバージョンアップで改善されることを期待しています。


2015年5月20日水曜日

fastboot oem lockすると

Nexus 6 で fastboot oem lock するとユーザデータがフォーマットされちゃうんですね。内容の暗号化するためなんでしょうか。とにかく以前のNexusデバイスと比較すると面倒になりました。

まあ、oem lock 解除したままにしておけば何も問題ないんですけどね。

2015年5月19日火曜日

Nexus 6 (64GBモデル)の容量が…

Googleが公開しているファクトリーイメージを Nexus 6 (64GB)にフラッシュするとストレージ容量が極端に少なくなることがあります。

問題は userdata.img だと思うんですよね。

回避方法というか解決方法は以下のコマンドを実効します。

fastboot format userdata
fastboot format cache
fastboot reboot

これで容量は元に戻るんですけど、ユーザデータが消えちゃうのが難点です。

2015年4月29日水曜日

もう知っていると思いますが…

フォント定義ファイルの書き換えを紹介していますが、システムファイルを書き換えると OTA で新バージョンの Android が降ってきてもアップデート出来ないので注意してくださいね。

もちろん sideload も失敗します。

2015年4月19日日曜日

Gmailにプロモーションが表示されるようになった。

Gmailはスパムを強力に防御してくれて大変助かるのですが、そのGmailについにプロモーションが表示されるようになりました。以下のように表示されます。


まあスパムで苦労するか、プロモーションを受け入れるかの選択ですね。拡張で消せそうだけれど、とりあえずはそのままにしています。

現在のところ「Promotions」のタブにしか入って来てないので、それほど邪魔になるという感じはないのでこれぐらいは良いかなとも思っています。

2015年3月16日月曜日

Android 5.1 従来のフォントの変更方法では不十分だった。のでやり直し。

前回と同じ方法でやったのですが。句読点が半角になっていたのでその修正版です。当然の事ながら、自己責任でお願いします/。私の環境ではこれでシステム言語を英語にしえても日本語フォントが表示出来る要になってます。

変更箇所はボールド体で表現したのですが見にくかったら連絡ください。
2015-03-17 間違ったものを記載していたので更新しています。

まずは fonts.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
    NOTE: this is the newer (L) version of the system font configuration,
    supporting richer weight selection. Some apps will expect the older
    version, so please keep system_fonts.xml and fallback_fonts.xml in sync
    with any changes, even though framework will only read this file.

    All fonts withohut names are added to the default list. Fonts are chosen
    based on a match: full BCP-47 language tag including script, then just
    language, and finally order (the first font containing the glyph).

    Order of appearance is also the tiebreaker for weight matching. This is
    the reason why the 900 weights of Roboto precede the 700 weights - we
    prefer the former when an 800 weight is requested. Since bold spans
    effectively add 300 to the weight, this ensures that 900 is the bold
    paired with the 500 weight, ensuring adequate contrast.
-->
<familyset version="22">
    <!-- first font is default -->
    <family name="sans-serif">
        <font weight="100" style="normal">Roboto-Thin.ttf</font>
        <font weight="100" style="italic">Roboto-ThinItalic.ttf</font>
        <font weight="300" style="normal">Roboto-Light.ttf</font>
        <font weight="300" style="italic">Roboto-LightItalic.ttf</font>
        <font weight="400" style="normal">Roboto-Regular.ttf</font>
        <font weight="400" style="italic">Roboto-Italic.ttf</font>
        <font weight="500" style="normal">Roboto-Medium.ttf</font>
        <font weight="500" style="italic">Roboto-MediumItalic.ttf</font>
        <font weight="900" style="normal">Roboto-Black.ttf</font>
        <font weight="900" style="italic">Roboto-BlackItalic.ttf</font>
        <font weight="700" style="normal">Roboto-Bold.ttf</font>
        <font weight="700" style="italic">Roboto-BoldItalic.ttf</font>
    </family>

    <!-- Note that aliases must come after the fonts they reference. -->
    <alias name="sans-serif-thin" to="sans-serif" weight="100" />
    <alias name="sans-serif-light" to="sans-serif" weight="300" />
    <alias name="sans-serif-medium" to="sans-serif" weight="500" />
    <alias name="sans-serif-black" to="sans-serif" weight="900" />
    <alias name="arial" to="sans-serif" />
    <alias name="helvetica" to="sans-serif" />
    <alias name="tahoma" to="sans-serif" />
    <alias name="verdana" to="sans-serif" />

    <family name="sans-serif-condensed">
        <font weight="300" style="normal">RobotoCondensed-Light.ttf</font>
        <font weight="300" style="italic">RobotoCondensed-LightItalic.ttf</font>
        <font weight="400" style="normal">RobotoCondensed-Regular.ttf</font>
        <font weight="400" style="italic">RobotoCondensed-Italic.ttf</font>
        <font weight="700" style="normal">RobotoCondensed-Bold.ttf</font>
        <font weight="700" style="italic">RobotoCondensed-BoldItalic.ttf</font>
    </family>
    <alias name="sans-serif-condensed-light" to="sans-serif-condensed" weight="300" />

    <family name="serif">
        <font weight="400" style="normal">NotoSerif-Regular.ttf</font>
        <font weight="700" style="normal">NotoSerif-Bold.ttf</font>
        <font weight="400" style="italic">NotoSerif-Italic.ttf</font>
        <font weight="700" style="italic">NotoSerif-BoldItalic.ttf</font>
    </family>
    <alias name="times" to="serif" />
    <alias name="times new roman" to="serif" />
    <alias name="palatino" to="serif" />
    <alias name="georgia" to="serif" />
    <alias name="baskerville" to="serif" />
    <alias name="goudy" to="serif" />
    <alias name="fantasy" to="serif" />
    <alias name="ITC Stone Serif" to="serif" />

    <family name="monospace">
        <font weight="400" style="normal">DroidSansMono.ttf</font>
    </family>
    <alias name="sans-serif-monospace" to="monospace" />
    <alias name="monaco" to="monospace" />

    <family name="serif-monospace">
        <font weight="400" style="normal">CutiveMono.ttf</font>
    </family>
    <alias name="courier" to="serif-monospace" />
    <alias name="courier new" to="serif-monospace" />

    <family name="casual">
        <font weight="400" style="normal">ComingSoon.ttf</font>
    </family>

    <family name="cursive">
        <font weight="400" style="normal">DancingScript-Regular.ttf</font>
        <font weight="700" style="normal">DancingScript-Bold.ttf</font>
    </family>

    <family name="sans-serif-smallcaps">
        <font weight="400" style="normal">CarroisGothicSC-Regular.ttf</font>
    </family>

    <!-- fallback fonts -->
    <family variant="elegant">
        <font weight="400" style="normal">NotoNaskh-Regular.ttf</font>
        <font weight="700" style="normal">NotoNaskh-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoNaskhUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoNaskhUI-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansEthiopic-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansEthiopic-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansHebrew-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansHebrew-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansThai-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansThai-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansThaiUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansThaiUI-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansArmenian-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansArmenian-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansGeorgian-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansGeorgian-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansDevanagari-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansDevanagari-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansDevanagariUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansDevanagariUI-Bold.ttf</font>
    </family>
    <!-- Gujarati should come after Devanagari -->
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansGujarati-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansGujarati-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansGujaratiUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansGujaratiUI-Bold.ttf</font>
    </family>
    <!-- Gurmukhi should come after Devanagari -->
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansGurmukhi-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansGurmukhi-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansGurmukhiUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansGurmukhiUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansTamil-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansTamil-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansTamilUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansTamilUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansMalayalam-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansMalayalam-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansMalayalamUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansMalayalamUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansBengali-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansBengali-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansBengaliUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansBengaliUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansTelugu-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansTelugu-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansTeluguUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansTeluguUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansKannada-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansKannada-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansKannadaUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansKannadaUI-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansSinhala-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansSinhala-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansKhmer-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansKhmer-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansKhmerUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansKhmerUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansLao-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansLao-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansLaoUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansLaoUI-Bold.ttf</font>
    </family>
    <family variant="elegant">
        <font weight="400" style="normal">NotoSansMyanmar-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansMyanmar-Bold.ttf</font>
    </family>
    <family variant="compact">
        <font weight="400" style="normal">NotoSansMyanmarUI-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansMyanmarUI-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansThaana-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansThaana-Bold.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansCham-Regular.ttf</font>
        <font weight="700" style="normal">NotoSansCham-Bold.ttf</font>
    </family>
    <family lang="ja">
        <font weight="400" style="normal">NotoSansJP-Regular.otf</font>
    </family>
    <family lang="ja">
        <font weight="400" style="normal">MTLmr3m.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansBalinese-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansBatak-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansBuginese-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansBuhid-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansCanadianAboriginal-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansCherokee-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansCoptic-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansGlagolitic-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansHanunoo-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansJavanese-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansKayahLi-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansLepcha-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansLimbu-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansMeeteiMayek-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansOlChiki-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansRejang-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansSaurashtra-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansSundanese-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansSylotiNagri-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTagbanwa-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTaiLe-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTaiTham-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTaiViet-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTifinagh-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansYi-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">Lohit-Odia.ttf</font>
    </family>
    <family lang="zh-Hans">
        <font weight="400" style="normal">NotoSansHans-Regular.otf</font>
    </family>
    <family lang="zh-Hant">
        <font weight="400" style="normal">NotoSansHant-Regular.otf</font>
    </family>
    <family lang="ko">
        <font weight="400" style="normal">NotoSansKR-Regular.otf</font>
    </family>
    <family>
        <font weight="400" style="normal">NanumGothic.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansSymbols-Regular-Subsetted.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoColorEmoji.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">DroidSansFallback.ttf</font>
    </family>
</familyset>

次に fallback_fonts.xml を編集します。

<?xml version="1.0" encoding="utf-8"?>
<!--
    NOTE: this file is the legacy format, for compatibility with apps. The new,
    more flexible format is fonts.xml. Please keep the two in sync until the legacy
    format can be fully removed.

    Fallback Fonts

    This file specifies the fonts, and the priority order, that will be searched for any
    glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml.
    Each entry consists of a family tag and a list of files (file names) which support that
    family. The fonts for each family are listed in the order of the styles that they
    handle (the order is: regular, bold, italic, and bold-italic). The order in which the
    families are listed in this file represents the order in which these fallback fonts
    will be searched for glyphs that are not supported by the default system fonts (which are
    found in /system/etc/system_fonts.xml).

    Note that there is not nameset for fallback fonts, unlike the fonts specified in
    system_fonts.xml. The ability to support specific names in fallback fonts may be supported
    in the future. For now, the lack of files entries here is an indicator to the system that
    these are fallback fonts, instead of default named system fonts.

    There is another optional file in /vendor/etc/fallback_fonts.xml. That file can be used to
    provide references to other font families that should be used in addition to the default
    fallback fonts. That file can also specify the order in which the fallback fonts should be
    searched, to ensure that a vendor-provided font will be used before another fallback font
    which happens to handle the same glyph.

    Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;
    their ordering in the fallback or vendor files gives priority to the first in the list.
    Language-specific ordering can be configured by adding a BCP 47-style "lang" attribute to
    a "file" element; fonts matching the language of text being drawn will be prioritised over
    all others.
-->
<familyset>
    <family>
        <fileset>
            <file variant="elegant">NotoNaskh-Regular.ttf</file>
            <file variant="elegant">NotoNaskh-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoNaskhUI-Regular.ttf</file>
            <file variant="compact">NotoNaskhUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansEthiopic-Regular.ttf</file>
            <file>NotoSansEthiopic-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansHebrew-Regular.ttf</file>
            <file>NotoSansHebrew-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansThai-Regular.ttf</file>
            <file variant="elegant">NotoSansThai-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansThaiUI-Regular.ttf</file>
            <file variant="compact">NotoSansThaiUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansArmenian-Regular.ttf</file>
            <file>NotoSansArmenian-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansGeorgian-Regular.ttf</file>
            <file>NotoSansGeorgian-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansDevanagari-Regular.ttf</file>
            <file variant="elegant">NotoSansDevanagari-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>
            <file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>
        </fileset>
    </family>
    <!-- Gujarati should come after Devanagari -->
    <family>
        <fileset>
            <file variant="elegant">NotoSansGujarati-Regular.ttf</file>
            <file variant="elegant">NotoSansGujarati-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansGujaratiUI-Regular.ttf</file>
            <file variant="compact">NotoSansGujaratiUI-Bold.ttf</file>
        </fileset>
    </family>
    <!-- Gurmukhi should come after Devanagari -->
    <family>
        <fileset>
            <file variant="elegant">NotoSansGurmukhi-Regular.ttf</file>
            <file variant="elegant">NotoSansGurmukhi-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansGurmukhiUI-Regular.ttf</file>
            <file variant="compact">NotoSansGurmukhiUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansTamil-Regular.ttf</file>
            <file variant="elegant">NotoSansTamil-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansTamilUI-Regular.ttf</file>
            <file variant="compact">NotoSansTamilUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansMalayalam-Regular.ttf</file>
            <file variant="elegant">NotoSansMalayalam-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>
            <file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansBengali-Regular.ttf</file>
            <file variant="elegant">NotoSansBengali-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansBengaliUI-Regular.ttf</file>
            <file variant="compact">NotoSansBengaliUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansTelugu-Regular.ttf</file>
            <file variant="elegant">NotoSansTelugu-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
            <file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansKannada-Regular.ttf</file>
            <file variant="elegant">NotoSansKannada-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
            <file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansSinhala-Regular.ttf</file>
            <file>NotoSansSinhala-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansKhmer-Regular.ttf</file>
            <file variant="elegant">NotoSansKhmer-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
            <file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansLao-Regular.ttf</file>
            <file variant="elegant">NotoSansLao-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansLaoUI-Regular.ttf</file>
            <file variant="compact">NotoSansLaoUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="elegant">NotoSansMyanmar-Regular.ttf</file>
            <file variant="elegant">NotoSansMyanmar-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file variant="compact">NotoSansMyanmarUI-Regular.ttf</file>
            <file variant="compact">NotoSansMyanmarUI-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file lang="ja">NotoSansJP-Regular.otf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file lang="ja">MTLmr3m.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansThaana-Regular.ttf</file>
            <file>NotoSansThaana-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansCham-Regular.ttf</file>
            <file>NotoSansCham-Bold.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansBalinese-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansBatak-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansBuginese-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansBuhid-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansCanadianAboriginal-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansCherokee-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansCoptic-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansGlagolitic-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansHanunoo-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansJavanese-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansKayahLi-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansLepcha-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansLimbu-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansMeeteiMayek-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansOlChiki-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansRejang-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansSaurashtra-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansSundanese-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansSylotiNagri-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTagbanwa-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTaiLe-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTaiTham-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTaiViet-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTifinagh-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansYi-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>Lohit-Odia.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file lang="zh-Hans">NotoSansHans-Regular.otf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file lang="zh-Hant">NotoSansHant-Regular.otf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file lang="ko">NotoSansKR-Regular.otf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NanumGothic.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansSymbols-Regular-Subsetted.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoColorEmoji.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>DroidSansFallback.ttf</file>
        </fileset>
    </family>
    <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
         a cumulative limit of 64k glyphs. Thus, if they are placed after the
         large fonts such as DroidSansFallback, they are likely to render
         incorrectly. Please use caution when putting fonts toward the end of
         the list.
    -->
</familyset>

2015年3月14日土曜日

続 Android 5.1 でのフォント、中華フォントだと誤解って文字が変だよね。

Android 5.1 の OTA の場所もわかったので sideload でアップデートしようとしたら、ファイルが書き換えてあるから無理っていわれたのでファクトリーイメージを焼きました。

お馴染みの中華フォントより日本語フォントを優先的に表示するようにしたのですが、ふとしたことから fonts.xml の変更だけでいいのではないか?と思ってやってみたら、概ね問題なかったのですが一部のアプリ(確認したアプリだと OneNote)でひらがなが表示出来ない状態になったので、いまは素直に fonts.xml と fallback_fonts.xml を書き換えて Android 5.1 ライフを満喫しています。

2015年3月13日金曜日

adb sideload が出来なかった。

Android 5.1 の OTA の URL も判明したので adb sideload でアップデートしようとしたら、fonts.xml だったか fallback_fonts.xml のどちらかが書き換わっているので sideload でアップデート出来ませんでした。

仕方ないのでファクトリーイメージを利用して真っ新にしてアップデートしました。まあゴミも溜まってきてたので、その掃除って意味も含めるとちょうど良かったのかも。

やっぱり、ファイルを書き換えるのは自己責任ってことですね。

2015年3月11日水曜日

Google Opinion Rewards の調子が変だよ。

簡単なアンケートに答えると Play Store で使えるポイントが貰えるという Google Opinion Rewards ですが、回答をすべて終えてもポイントがアカウントに加算されないという不具合が続いているようです。

簡単な質問に答えるだけで、けっこう大きなポイントが貰えるのが魅力ですが、回答したのにポイントが貰えないのでは意味がありません。まだ、未回答の設問がある場合は、今は答えるのではなく、しばらく様子を見てからのほうが良いと思います。

実は私も、回答したのにポイントが入ってこないというトラブルにこの前に遭遇しました。ポイントを必死に貯める人にとっては大きな問題だと思うので安定するようになってから再挑戦した方が良いと思います。

ではでは。

2014年11月26日水曜日

Chromebook で OpenVPN

最近、購入した Dell Chromebook 11 で OpenVPN が利用したかったのでやってみました。一応 GUI での設定方法が用意されているんだけれど、設定項目が足らないので Open Network Configuration (ONC) ファイルで設定します。

証明書とかのインストールは Web で説明されているのが沢山あるので、その部分は端折ります。ONC ファイルの記述ですごく苦労しました。色々苦労して結果以下の ONC ファイルで取り込みできました。

sample.onc

{
 "Type":"UnencryptedConfiguration",
      "Certificates": [ {
      "GUID": "{hsdfgh45ljh456kjh456jhk45}",
      "Type": "Authority",
      "X509":  "MIIxxTCCA5mgAwIBAgIJAMWrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
   } ],
    "NetworkConfigurations": [ {
      "GUID": "{hsdfgh45ljh456kjh456jhk45hsdfgh45ljh456kjh456jhk45}",
      "Name": "OpenVPN",
      "Type": "VPN",
      "VPN": {
          "Type": "OpenVPN",
          "Host": "xxx.yyy.xxx.zzz",
          "OpenVPN": {
                        "ServerCARef": "{hsdfgh45ljh456kjh456jhk45}",
                    "AuthRetry": "interact",
                    "ClientCertType": "Pattern",
                    "ClientCertPattern": {              
                          "IssuerCARef": [ "{hsdfgh45ljh456kjh456jhk45}" ]
                         },
                    "CompLZO": "true",
                    "Port": 1194,
                    "Proto": "udp",
                    "RemoteCertTLS":"none",
                    "RemoteCertEKU": "TLS Web Server Authentication",
                    "SaveCredentials": true,
                    "ServerPollTimeout": 10,
                    "Username": "testuser",
                    "KeyDirection":"1",                                      
                    "TLSAuthContents":"-----BEGIN OpenVPN Static key V1-----
\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\-----END OpenVPN Static key V1-----\n"
                     },
         "Recommended": [ "Host" ]
             }
                               } ]
}

ポイントは証明書を一行で記述することと ta.key は \n で一行にして繋げて記述することです。
Chrome で chrome://net-internals/#chromeos を開き、先程作成した ONC ファイルをインポートします。インポートするとパースエラーと表示されますが、右タスクトレイをクリックすると VPN disconnected と正常にインポート出来ているはずです。
あとは普通に接続をすれば OpenVPN サーバに接続出来るようになります。