のねのBlog

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

Pango

pango-querymodules

u01@vm01:~/usr/bin$ ./pango-querymodules # Pango Modules file # Automatically generated file, do not edit # # ModulesPath = /home/u01/usr/lib/pango/1.8.0/modules # /home/u01/usr/lib/pango/1.8.0/modules/ pango-basic-fc.so BasicScriptEngineF…

test_layout

500 main (int argc, char *argv[]) 501 { 502 GDir *dir; 503 GError *error = NULL; 504 const gchar *name; 505 gchar *path; 506 507 g_setenv ("LC_ALL", "C", TRUE); 508 setlocale (LC_ALL, ""); 509 510 g_test_init (&argc, &argv, NULL); 511 512 …

pango-view

pango-view --font="Garuda 50" test-thai_kigen.txt --output=pv_kigen.pnghb-view /usr/share/fonts/truetype/tlwg/Garuda.ttf --text-file=test-thai_kigen.txt --output-format=png --output-file=hb_thai_kigen.png

pango-view

562 pango-view --font="Garuda 50" -text="abc" 563 pango-view --font="Garuda 50" -t="abc" 564 pango-view 565 pango-view --help 566 pango-view --font="Garuda 50" --text="abc" 567 pango-view --font="Garuda 50" text-thai_s2.txt 568 ls 569 pang…

pkg-config --help

u01@vm01:~/layout/oss/pango-1.36.8$ pkg-config --help

pango config --help

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --help

Failed to load Pango module

u01@vm01:~/layout/text$ pango-view --font="Garuda 50" test-thai_s1.txt (pango-view:47169): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (pango-view:47169): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0…

pango configure

u01@vm01:~/layout/oss/pango-1.36.8 $ ./configure --prefix=$HOME/usr -enable-static -disable-shared --with-included-modules=yes

pango-view

pango-view --font="garuda 50" test-thai2.txt

fc-list

fc-list :lang=th /usr/share/fonts/truetype/tlwg/TlwgTypo-Bold.ttf: Tlwg Typo:style=Bold /usr/share/fonts/X11/misc/7x14.pcf.gz: Fixed:style=Regular /usr/share/fonts/truetype/tlwg/Umpush.ttf: Umpush:style=Book /usr/share/fonts/truetype/freef…

pango.pc

prefix=/home/u01/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include pango_module_version=1.8.0 Name: Pango Description: Internationalized text handling Version: 1.36.8 Requires: glib-2.0 gobject-2.0 Requires.p…

pango ./configure

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr --enable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/m…

eclipse

(process:59834): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (process:59834): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (process:59834): GLib-GObject-CRITICAL **: g_type_register_static: a…

pango static-library

./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…

gdb

197,725 2-gdb-version 197,726 ~"GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\n" 197,730 ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" 197,730 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\ e software: you are free to</http://gnu.org/licenses/gpl.html>…

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…

pango module

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr -enable-static --with-included-modules=yes ./configure --with-included-modules (process:100145): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (proce…

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…

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…

依存関係まとめ

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

mac gdb

正常終了している mbp01:.libs m_fujii$ gdb --args ./pango-view -t "abc" GNU gdb (GDB) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redis</http://gnu.org/licenses/gpl.html>…

Unable to find Mach task port for

mbp01:.libs m_fujii$ gdb --args ./pango-view -t "abc" Reading symbols from ./pango-view...done. (gdb) run Starting program: /Users/m_fujii/layout/pango-1.38.1/pango-view/.libs/pango-view -t abc Unable to find Mach task port for process-id …

mac gdb not in executable format: File format not recognized

mbp01:pango-view m_fujii$ gdb ./pango-view GNU gdb (GDB) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARR</http://gnu.org/licenses/gpl.html>…

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…