2015年3月18日水曜日

なにやら OpenSSL でまた大きなことがありそうです。

[openssl-announce] Forthcoming OpenSSL releases

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Forthcoming OpenSSL releases
============================

The OpenSSL project team would like to announce the forthcoming release
of OpenSSL versions 1.0.2a, 1.0.1m, 1.0.0r and 0.9.8zf.

These releases will be made available on 19th March. They will fix a
number of security defects. The highest severity defect fixed by these
releases is classified as "high" severity.

Yours

The OpenSSL Project Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVByl7AAoJENnE0m0OYESRm5MIAJV4ElRSS575QkYwPcOw7VTK
8Ulc6TMHsy2s5UvTXl/THqEoy5n92v99Cm69Y69TSWOgK9FK8aV0BuKkVZVYp3Ko
MYV4VMr8a7YiNh/16HctRLfEPH8bg5AkY76Y4RM5i1AXafSR6wMuwlJl21TmqMI+
J+HA39UvlWZ9zI7Lzz0v1BMoGAXg0cr8//QRcrFFgZZuUVtscwRRA9nRS65+AJhX
ogd3ncUPUI3YEzxqv0kDfUre/2XeUNOM+N+u9pyfjoXHaMVsSX3A1HtpmEAMyzhE
DqF+kmhTEyK0HYCVLnl6PLnBdHpPKY3qNFYd8trFyC2hpB9U6Qsut4KeKNtAi2g=
=Uwpw
-----END PGP SIGNATURE-----

ということで 、本国で19日、日本だと20日かな大きな動きがありそうな予感。

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日土曜日

Rangerファイルマネージャだよ。

Ranger というファイルマネージャを見つけました。キーバインドが vi で画像、PDFやテキストがプレビューされ軽快に動作するのでいい感じです。

公式サイトから転載


Gentoo なら emerge ranger でインストール出来ますが、他のディストリビューションでも簡単にインストール出来ると思います。久しぶりの休みに見つけた一品のソフトウェアって感じがします。

あっ注意としてはコンソールで動作するファイルマネージャなので GUI のファイラーと比べるとリッチではありません。それでも十分リッチに思えますが…

続 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 ですが、回答をすべて終えてもポイントがアカウントに加算されないという不具合が続いているようです。

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

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

ではでは。

パスワード管理方法

これまでは keepassx を使っていて何も問題を感じたことはなかったんですが Chromebook を使うようになってパスワードの一元管理で面倒なことをしていました。

そこでなにか良い方法がないものかなぁ。と探していると Intel に買収された PasswordBox が良さそうです。無料では管理出来るパスワードの数に制限があるようなんですが、Intel の傘下に入った記念なのか分かりませんが太っ腹にも制限なしでパスワードの管理ができます。
このように一定数の友人を招待すれば Free Premium Subscription になるのですが、なにもしないで、この状態になっていました。Windows, OS X, Linux, Android, iOS というマルチプラットフォームで利用できるので、今のところ私の押しパスワード管理ソフトになっています。

ブラウザの拡張機能で動作するので Chromebook でも問題なく動作します。
もう少し使ってみて、改めて感想や思うことがあれば書いてみたいと思います。

東日本大震災から 4 年、当時の Twitter はどうしていたか

あの 3/11 からもう 4 年が経過しました。長いようで短い 4 年だったと思います。そんな大震災で人々の安否情報確認に利用された Twitter でクジラがなぜ出なかったというのが記事になってます。

「2011年3月11日、なぜ「Twitter」は落ちなかったのか? 多くの人が知らない、意外な真実。」

確かにあれだけのアクセスが集中したら落ちても不思議では無いのに落ちなかったのは
一人のエンジニアの判断で行われた、すばらしい行動があったようです。
これは日本人も、このエンジニアのように振る舞えるようになるべきですね。

いまの日本では上司の言うことが絶対で、勝手に行動すると罰則の対象になりますしね。
そのいみでは個々が変わる以上、会社という組織のありかたが変化するように問われている気もしました。

太平洋を隔てた、この日本の企業でこの Twitter の事例のように 1 SE が判断して会社に認められるようになる日はくるのでしょうか…私は現状の日本の状況では難しいと考えています。残念な事ではありますが…

明日は Shibboleth 対応

えーと明日は Shibboleth 対応をしなくてはなりません。既に担当者がいるのですが分からないからヘルプって泣きついてきた状態なんですが、前提条件が分かって無いのに明日行って解決する問題なのか甚だ疑問が残ります。

まあ、うまく行けば定時で終わるような仕事内容なんですけどねぇ。トラブったときどうしようかと考えると嫌になってきます。

今回は IdP の構築じゃなくて SP 側の構築なのですが、OS が Windows で個人的に馴れない環境ってのも嫌な感じがしています。

あと朝、家を出るのが早いっ手のもいやな要素の一つです。
まあ愚痴言ってても仕方がないので問題なく終わるように頑張ります。

Azure でのコンソール

乗り気ではないんですけど、仕事の関係で Azure を使うことになりました。ここで疑問なんですが、構築した Linux のコンソールって見れないよね?SSH の設定失敗したらどうやって回復するんだろうかと、悩んでいます。

方法は無いんですかねぇ。何だか不安になってきます。プロダクトレベルで利用している人がいましたら、どうしているのか方法とか教えてもらえると助かります。

ではでは。

2015年3月10日火曜日

Android 5.1 Factory Image公開

何と早いことに Android Factory Imageで Nexus 5などの 5.1 のイメージが公開されています。私は今回は OTA を素直に待とうと考えています。ファクトリーイメージからやるのは何だか色々疲れたんです。

人柱として 5.1 にしたという人は感想聞かせてください。

2015年3月9日月曜日

Gentoo 最近 Gentoo に関することまったくかいてない。

タイトルのままなんですが、Gentoo に関することなにも書いてないなぁーとふと思いだしました。ただ、それだけです。

Play Store 3周年記念

Google の Play Store 3周年記念ってことで「ワイルド・スピード」が無料で頂けます。本作品はそれほどおもしろくはないと個人的には思っていますが、無料とあれば飛びつくってのもが人間でしょう。

説明が分かりにくいのですが、邦題では「ワイルド・スピード」として公開されている作品です。言語は問題なく日本になってますので、安心してながらみすることが可能です。

ブツブツ…

最近、仕事で Microsoft Azure 使うことになったんだけど、デプロイに時間がかかりますね。また気のせいかどことなく使いにくいって感じてしまいます。前任者が置いて言ったものなので構成から調べる必要があって結構大変です。

せめて資料は残しておいて欲しかったと思うんですよ。

新しいエディタ

ぶらぶらしていると ne (http://ne.di.unimi.it/) という中々良さげなエディタを見つけたので紹介します。一番の売りは動作が軽いのに各種言語のシンタックスハイライトに対応していることでしょうか。

こんな感じでメニューも用意されていてヘビーユーザだけでなくライトユーザでも満足できるエディタになっていると思ってます。軽量なので mutt のような好きなエディタをメールの編集に使えるソフトでのメールを書くエディタにしても良さそうです。

2015年3月1日日曜日

WiFiに繋がらない

Gentoo で WiFi 利用しているのですが何をしたのか覚えてないのですが、昔ネットブックと言われていた端末 EeePC で wicd を利用しての WiFi 接続が出来なくなりました。

あれこれ調べていると AP で AES/TKIP と TKIP も受け付けするようにしたら繋がるようになりました。ところが、ThinkPad は AES だけでも繋っていたので何かが違うんだろうと比べてみました。

すると /etc/wicd/encryption/templates/eap-tls から接続が出来る方の ThinkPad は pairwise=TKIP と group=TKIP が削除してありました。同じ様に EeePC でもこの2つを削除したら AP は AES だけで無事接続出来るようになりました。

こういった事って嵌ると解決までに時間がかかりますね。