のねのBlog

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

OSS

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…

with-glib=no

with-glib=noにしたとき、 Unicodeの検索だけglibを使わなくなるのかな?ほかのglibの関数は呼び出すように見える。 $ ./configure --prefix=$HOME/usr --with-glib=no

トウフがでるとき

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…

ucdn

glibをNOにすると、UCDNがyesになる configure --prefix=$HOME/usr --with-glib=noBuild configuration: Unicode callbacks (you want at least one): Glib: false ICU: false UCDN: true Font callbacks (the more the better): FreeType: true Tools used …

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…

get_shaper_and_font

1257 static gboolean 1258 get_shaper_and_font (ItemizeState *state, 1259 gunichar wc, 1260 PangoEngineShape **shape_engine, 1261 PangoFont **font) 1262 { 1263 GetShaperFontInfo info; 1264 1265 /* We'd need a separate cache when fallback is…

make fribidi_tab_char_type_n.i

44 #error You have no fribidi_tab_char_type_*.i file, please first make one by \ 45 make fribidi_tab_char_type_n.i which n is the compress level, a digit \ 46 between 2 and 9, or simply run make fribidi_tab_char_type_small, \ 47 retry to m…

pango_find_base_dir

946 PangoDirection 947 pango_find_base_dir (const gchar *text, 948 gint length) 949 { 950 PangoDirection dir = PANGO_DIRECTION_NEUTRAL; 951 const gchar *p; 952 953 g_return_val_if_fail (text != NULL || length == 0, PANGO_DIRECTION_NEUTRAL)…

pango_layout_check_lines

3898 3899 static void 3900 pango_layout_check_lines (PangoLayout *layout) 3901 { 3902 const char *start; 3903 gboolean done = FALSE; 3904 int start_offset; 3905 PangoAttrList *attrs; 3906 PangoAttrList *no_shape_attrs; 3907 PangoAttrIterat…