のねのBlog

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

2015-12-01から1ヶ月間の記事一覧

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

opengrok

sudo ./og/OpenGrok index $HOME/layout/og/

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…

lessに色をつける

sudo apt-get install source-highlight

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…

Program Argument

--font="Garuda 50" test-thai_kigen.txt --output=pv_kigen.png

with-glib=no

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

CFLAGS

CFLAGS = -g -O2 CXXFLAGS = -g -O2 -fno-rtti -fno-exceptions -Wcast-align -fvisibility-inlines-hidden最適化をオフ export CFLAGS=-g export CXXFLAGS=-gCFLAGS = -g CXXFLAGS = -g -fno-rtti -fno-exceptions -Wcast-align -fvisibility-inlines-hidden

トウフがでるとき

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…

g_unichar_decompose

g_unichar_decompose() g_unichar_decompose () gboolean g_unichar_decompose (gunichar ch, gunichar *a, gunichar *b); Performs a single decomposition step of the Unicode canonical decomposition algorithm. This function does not include compat…

Windows10 重たい

メモリ16GBのうち、まだ8GBある。 システムと圧縮メモリが1GBぐらい。 Microsoft OFficce Cacheが1GB使っていた。キーを入力しようとしても、反応しない。 Ctrl+Alt+Delもなかなか反応しない。再起動すると治る。

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…

IS_SARA_AM

#define IS_SARA_AM(x) (((x) & ~0x0080u) == 0x0E33u)~0x0080u = 0xFF7Fu 0x0E33u 0x0EB3u

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…

scribus windows-x64 binary

Download Scribus from SourceForge.net

build scribus in msvc2015

MSVC2015 build-all-platform-libs.bat x64 v140 @echo off set MSVC_INSTALL_PATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0" if not exist %MSVC_INSTALL_PATH% ( set MSVC_INSTALL_PATH="C:\Program Files\Microsoft Visual Studio 14.0" ) …

ScribusCTL

MacOSXSeveral ways to install for OSX. For now the easiest is via Homebrew, the OSX Package Manager. 1. Install Homebrew 2. Install ScribusCTL via the custom homebrew formula brew install --HEAD https://gist.githubusercontent.com/luzpaz/fb…