のねのBlog

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

Pango

pango_cairo_renderer_show_text_glyphs

424 static void 425 pango_cairo_renderer_show_text_glyphs (PangoRenderer *renderer, 426 const char *text, 427 int text_len, 428 PangoGlyphString *glyphs, 429 cairo_text_cluster_t *clusters, 430 int num_clusters, 431 gboolean backward, 432 …

pango_glyph_string_extents_range

_pango_cairo_font_private_get_glyph_extents_cache_entry() at pangocairo-font.c:791 0x7ffff7773553 _pango_cairo_font_private_get_glyph_extents() at pangocairo-font.c:832 0x7ffff7773553 pango_glyph_string_extents_range() at glyphstring.c:211…

pango-layout_get_pixel_exteents

pango-layout_get_pixel_exteents _pango_engine_shape_shape

pango 1.38.1

pango_cairo_renderer_show_text_glyphs() at pangocairo-render.c:494 0x7ffff777501b pango_cairo_renderer_draw_glyphs() at pangocairo-render.c:526 0x7ffff77754b4 pango_renderer_draw_glyphs() at pango-renderer.c:642 0x7ffff7bb65df pango_render…

pango 1.38.1 pango-view

Program arguments: --font="Garuda 50" test-thai_kigen.txt --output=pv_kigen.pngWorking directory ${workspace_loc:PangoView_1.38.1} Use default

makeエラー

harfbuzzでglibを切ると、pangoでmakeエラーになる u01@vm01:~/layout/oss/pango-1.38.1$ ./configure --prefix=$HOME/usr --enable-debug=yes u01@vm01:~/layout/oss/pango-1.38.1$ make make[2]: Entering directory `/home/u01/layout/oss/pango-1.38.1/p…

make error

345 #if HB_VERSION_ATLEAST(1,0,3) 346 hb_buffer_set_cluster_level (hb_buffer, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS); 347 #endifgcc - what does the compiler error "missing binary operator before token" mean? - Stack Overflow make[4]:…

pango 1.38.1

u01@vm01:~/layout/oss/pango-1.38.1$ ./configure --prefix=$HOME/usr --enable-debug=yes

error glib=no

(inf-view:130150): Pango-WARNING **: /home/u01/usr/lib/pango/1.8.0/modules/pango-basic-fc.so: undefined symbol: hb_glib_get_unicode_funcs (inf-view:130150): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoR…

トウフがでるとき

UCDNのとき、トウフがでる。 fallback_engine_shape() at pango-engine.c:190 0x7ffff7ba9450 pango_shape_full() at shape.c:176 0x7ffff7bb906f shape_run() at pango-layout.c:3,293 0x7ffff7b9c39c process_item() at pango-layout.c:3,406 0x7ffff7b9c6…

substitute_start

pango-view Default [C/C++ Application] pango-view [80235] [cores: 0] Thread #1 [pango-view] 80235 [core: 0] (Suspended : Step) substitute_start() at hb-ot-layout-gsub-table.hh:1,290 0x7ffff5d2f326 hb_ot_layout_substitute_start() at hb-ot-l…

FT_Get_Char_Index

pango-view Default [C/C++ Application] pango-view [80235] [cores: 0] Thread #1 [pango-view] 80235 [core: 0] (Suspended : Step) tt_cmap4_char_map_binary() at ttcmap.c:1,141 0x7ffff5fbec03 tt_cmap4_char_index() at ttcmap.c:1,359 0x7ffff5fc5d…

IA__FcFreeTypeCharIndex

fontconfig/fcfreetype.c IA__FcFreeTypeCharIndex() at fcfreetype.c:2,404 0x7ffff6df48d0 pango_fc_font_real_get_glyph() at pangofc-font.c:657 0x7ffff7981dc7 pango_fc_hb_font_get_glyph() at basic-fc.c:126 0x7ffff39b7b16 get_glyph() at hb-font…

preprocess_text_thai

preprocess_text_thai() at hb-ot-shape-complex-thai.cc:316 0x7ffff5d4e399 hb_ot_substitute_default() at hb-ot-shape.cc:553 0x7ffff5d458ed hb_ot_substitute() at hb-ot-shape.cc:595 0x7ffff5d458ed hb_ot_shape_internal() at hb-ot-shape.cc:795 0…

get_glyph

pango-view Default [C/C++ Application] pango-view [55554] [cores: 0] Thread #1 [pango-view] 55554 [core: 0] (Suspended : Step) pango_fc_hb_font_get_glyph() at basic-fc.c:128 0x7ffff39b7b21 get_glyph() at hb-font-private.hh:159 0x7ffff5d519…

hb_shape

basic_engine_shape() at basic-fc.c:340 0x7ffff39b7bbf pango_shape_full() at shape.c:116 0x7ffff7bb8f7b shape_run() at pango-layout.c:3,293 0x7ffff7b9c39c process_item() at pango-layout.c:3,406 0x7ffff7b9c68d process_line() at pango-layout.…

pacman -Rsc mingw-w64-x86_64-gcc

$ pacman -Rsc mingw-w64-x86_64-gcc 依存関係を確認しています... パッケージ (8) mingw-w64-x86_64-gcc-ada-5.2.0-4 mingw-w64-x86_64-gcc-fortran-5.2.0-4 mingw-w64-x86_64-gcc-objc-5.2.0-4 mingw-w64-x86_64-isl-0.14.1-2 mingw-w64-x86_64-mpc-1.0.3-…

pacman -S mingw-w64-x86_64-glib2

~/layout/oss/pango-1.38.1:$ pacman -S mingw-w64-x86_64-glib2 依存関係を解決しています... 衝突するパッケージがないか確認しています... パッケージ (1) mingw-w64-x86_64-glib2-2.46.2-1 合計ダウンロード容量: 2.86 MiB 合計インストール容量: 19.73 …

pkg-config

MINGW64 ~/layout/oss/pango-1.38.1 $ pkg-config --list-all isl isl - isl Library gnurx regex - Regular Expressions library formw formw - ncurses 6.0 add-on library menuw menuw - ncurses 6.0 add-on library python2 Python - Python library pan…

gccをインストールしないでconfigureを実行してみた。

gccをインストールしないでconfigureを実行してみた。 ~/layout/oss/pango-1.38.1 $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p..…

pango fatal error C1083: include ファイルを開けません。'msvc_recommended_pragmas.h':No such file or directory

VS2013でビルドすると、以下のエラーが出た。 このファイルが見つからない。 fatal error C1083: include ファイルを開けません。'msvc_recommended_pragmas.h':No such file or directoryプロジェクトのプロパティ>構成プロパティ>C/C++>詳細設定の必ず…

pango configure cmp: command not found

$ ./configure --prefix=$HOME/usrchecking for a working dd... ./configure: line 7843: cmp: command not found ./configure: line 7843: cmp: command not found$ pacman -S mingw-w64-x86_64-diffutils 依存関係を解決しています... 衝突するパッケージ…

pacman -Q

よく使うコマンドとしては pacman -S <package_name1> [package_name2...] : 指定したパッケージをインストールする pacman -Sl [repository] : パッケージを一覧表示する(リポジトリを指定可能) pacman -Ss [regex...] : パッケージを一覧・検索する(キーワードを指定可</package_name1>…

gdb console

273,124 2-gdb-version 273,125 ~"GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\n" 273,129 ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" 273,129 ~"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-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/…

makefile

522 pango-thai-lang.la: $(pango_thai_lang_la_OBJECTS) $(pango_thai_lang_la_DEPENDENCIES) $(EXTRA_pango_thai_lang_la_DEPENDENCIES) $(AM_V_CCLD)$(pango_thai_lang_la_LINK) $(am_pango_thai_lang_la_rpath) $(pango_thai_lang_la_OBJECTS) $(pango_t…

make

modules/thai/Makefile -288 LIBTHAI_CFLAGS = /home/u01/usr/include +288 LIBTHAI_CFLAGS = -I/home/u01/usr/include435 libpango_thai_lang_la_CFLAGS = -DPANGO_MODULE_PREFIX=_pango_thai_lang $(LIBTHAI_CFLAGS)

makeでエラー fatal error: thai/thwchar.h: No such file or directory

pangoのmakeでエラー thai-lang.c:26:26: fatal error: thai/thwchar.h: No such file or directory #include <thai/thwchar.h> ^LIBTHAI_CFLAGSを宣言してみたけど、エラーのまま CC thai-lang.lo thai-lang.c:26:26: fatal error: thai/thwchar.h: No such file or directo</thai/thwchar.h>…

configure with libthai

libthaiをインストールしてから、configureした。 $ ./configure --prefix=$HOME/usr

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 BasicScriptEngineFc…