のねのBlog

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

Fonts

fontconfig staticlibrary

u01@vm01:~/layout/oss/fontconfig-2.11.92$ ./configure --prefix=$HOME/usr --enable-static

pango ./configure --help

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr -l configure: error: unrecognized option: `-l' Try `./configure --help' for more information u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr --help `conf…

pango static library

./configure --prefix=$HOME/usr -enable-static -disable-shared --with-included-modules=yesエラーが出ているけど、画像ファイルが生成された。 (process:111391): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (process:11139…

ldd exec

リンクしているライブラリが違う u01@vm01:~/workspace/pango/Debug$ ldd ./pango linux-vdso.so.1 => (0x00007ffe4559c000) libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f9c9d101000) libgobject-2.0.so.0 => /usr/lib/x86_…

gdb info sharedlibrary

gdb info sharedlibrary From To Syms Read Shared Object Library 0x00007ffff7ddaae0 0x00007ffff7df54e0 Yes /lib64/ld-linux-x86-64.so.2 0x00007ffff7b9ae50 0x00007ffff7bb9f26 Yes /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 0x00007ffff79472a0 0…

cairo ./configure --help

u01@vm01:~/layout/oss/cairo-1.12.18$ ./configure --help `configure' configures cairo 1.12.18 to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify th…

glib.h not found

project>property>C/C++ build>Build Settings>Makefile generartion>Generate Makefiles automaticallyのチェックをはずした。 subdir.mkを書き換え、インクルードのパスを加えた。 # Each subdirectory must supply rules for building sources it contrib…

cproject

<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> <storageModule moduleId="org.eclipse.cdt.core.settings"> <cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1555981701"> </cconfiguration></storagemodule></cproject>

discovery makefile

src/subdir.mk ################################################################################ # Automatically-generated file. Do not edit! ################################################################################ # Add inputs and o…

make install

~/layout/oss/freetype-2.5.5$sudo make install [sudo] password for u01: ./builds/unix/mkinstalldirs /usr/local/lib \ /usr/local/lib/pkgconfig \ /usr/local/include/freetype2/config \ /usr/local/bin \ /usr/local/share/aclocal \ /usr/local/sha…

cairo configure

cairo (version 1.12.18 [release]) will be compiled with: The following surface backends: Image: yes (always builtin) Recording: yes (always builtin) Observer: yes (always builtin) Mime: yes (always builtin) Tee: no (disabled, use --enable-…

pkg-config

export PKG_CONFIG_PATH=$HOME/usr/lib/pkgconfigu01@vm01:~/layout/oss/cairo-1.12.18$ pkg-config --debug Option --debug seen Error printing disabled by default, value of --print-errors: 0 Error printing disabled Adding virtual 'pkg-config' pa…

依存関係まとめ

fontconfig $sudo apt-get install libfreetype6-dev $sudo apt-get install libexpat1-dev $./configure --prefix=$HOME/usrfreetype $sudo apt-get install libbz2-dev $sudo apt-get install harfbuzz-devpango $sudo apt-get install libglib2.0-dev

cairo install

Script started on 2015年10月28日 22時59分28秒 $ ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking wheth…

When running ImageMagick 'display' command: display を子プロセスとして起動できませんでした:

bash-3.2$ pango-view --font="Fixed:Style=Regular" ~/.bash_history pango-view: When running ImageMagick 'display' command: display を子プロセスとして起動できませんでした: bash-3.2$ brew install imagemagick ==> Installing dependencies for im…

pango-view

bash-3.2$ pango-view --help 用法: pango-view [オプション...] - FILE ヘルプのオプション: -h, --help ヘルプのオプションを表示する --help-all ヘルプのオプションをすべて表示する --help-cairo Options understood by the cairo backend アプリケーシ…

brew install pango

bash-3.2$ brew install pango ==> Installing dependencies for pango: gettext, libffi, glib, libpng, freetype, fontconfig, pixman, cairo, pkg-con ==> Installing pango dependency: gettext ==> Downloading https://homebrew.bintray.com/bottles/g…

pkg-config --debug

$ pkg-config --debug Option --debug seen Error printing disabled by default, value of --print-errors: 0 Error printing disabled Adding virtual 'pkg-config' package to list of known packages Cannot open directory '/usr/local/lib/x86_64-linu…

android::SparseBitSet::nextSetBit

39 FontCollection::FontCollection(const vector<FontFamily*>& typefaces) : 40 mMaxChar(0) { 41 AutoMutex _l(gMinikinLock); 42 mId = sNextId++; 43 vector<uint32_t> lastChar; 44 size_t nTypefaces = typefaces.size(); 45 #ifdef VERBOSE_DEBUG 46 ALOGD("nTypefaces = %d</uint32_t></fontfamily*>…

fontforge

D:\Program Files (x86)\FontForgeBuilds\bin>fontforge Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Based on sources …</http://fontforge.org/license.html></http://gnu.org/licenses/gpl.html>

Ubuntu14.04 GhostScript デバイス

$ gs -h GPL Ghostscript 9.10 (2013-08-30) Copyright (C) 2013 Artifex Software, Inc. All rights reserved. Usage: gs [switches] [file1.ps file2.ps ...] Most frequently used switches: (you can use # in place of =) -dNOPAUSE no pause after pag…

fedora19 gs -h

$ gs -h GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. Usage: gs [switches] [file1.ps file2.ps ...] Most frequently used switches: (you can use # in place of =) -dNOPAUSE no pause after pag…

How to use ghostscript

GS>/MS-Gothic-90ms-RKSJ-H findfont Querying operating system for font files... Loading a TT font from C:/Windows/Fonts/msgothic.ttc to emulate a CID font MS-Gothic ... Done. GS<1>GS<1>/MS-Gothic-83ms-RKSJ-H findfont Can't find (or can't op…

はてなブログを、WebフォントのTypeSquareでカッコよく表示する

Webフォントを表示するために、必要なコードは、 ソースを見ると、以下の感じで埋まっていればいいようです。 </header> <div id="top-editarea"> <script type="text/javascript" src="//typesquare.com/accessor/script/typesquare.js?xxxxxxxxxx" charset="utf-8"></script> </div>Titleのfontfamilyは上書きされている。 Bodyのfontfamilyも上書きされている。 でも、うまく動いてないように見える。 どこが悪いんだろう?…

FontCollection

(gdb) bt #0 android::FontCollection::itemize (this=0xaffb9158, string=string@entry=0x9f3e1c80, string_size=string_size@entry=8, style=..., result=result@entry=0xbeeacddc) at frameworks/minikin/libs/minikin/FontCollection.cpp:183 #1 0xb5771…

weight bold

41 42 // Resolve the 1..9 weight based on base weight and bold flag 43 static void resolveStyle(TypefaceImpl* typeface) { 44 int weight = typeface->fBaseWeight / 100; 45 if (typeface->fSkiaStyle & SkTypeface::kBold) { 46 weight += 3; 47 } …

Config.updateFrom

824 public int updateFrom(Configuration delta) { 825 int changed = 0; 826 if (delta.fontScale > 0 && fontScale != delta.fontScale) { 827 changed |= ActivityInfo.CONFIG_FONT_SCALE; 828 fontScale = delta.fontScale; 829 } 830 if (delta.mcc !=…

BaseStatusBar

648 @Override 649 protected void onConfigurationChanged(Configuration newConfig) { 650 final Locale locale = mContext.getResources().getConfiguration().locale; 651 final int ld = TextUtils.getLayoutDirectionFromLocale(locale); 652 final fl…

doxygen設定ファイル skia

doxygenの設定ファイル # Doxyfile 1.8.6 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. # # All text after a double hash (##) is considered a comment and is placed in # fr…

LVL

Googleのサンプルソースより (D:\android-sdk_r24.0.2\sdk\extras\google\play_licensing\sample\src\com\example\android\market\licensing MainActivity.java) public class MainActivity extends Activity { private static final String BASE64_PUBLIC…