のねのBlog

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

2015-11-16から1日間の記事一覧

Eclipse シンタックスハイライトで色がつかない

Window>Preferences>Editor>Scalabilityの設定で、Scalability Mode SettingsがEnableになっていた。 そのため、HighlightがDisableになるようになっていた。 There is also a scalability mode which disable syntax highlighting if the file has more th…

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

G_UNLIKELY

コンパイルするとき、予測しやすいようにする。Trueになりにくい。 G_UNLIKELY()#define G_UNLIKELY(expr) 与えられた式の expr を TRUE と評価することがないようコンパイラに予告しておきます。これにより、最適化の際にコンパイラはこの情報を利用するか…

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…

pango_find_map

152 PangoMap * 153 pango_find_map (PangoLanguage *language, 154 guint engine_type_id, 155 guint render_type_id) 156 { 157 GList *tmp_list; 158 PangoMapInfo *map_info = NULL; 159 gboolean found_earlier = FALSE; 160 161 G_LOCK (maps); 162 16…

pango_script_iter_next

251 gboolean 252 pango_script_iter_next (PangoScriptIter *iter) 253 { 254 int start_sp; 255 256 if (iter->script_end == iter->text_end) 257 return FALSE; 258 259 start_sp = iter->paren_sp; 260 iter->script_code = PANGO_SCRIPT_COMMON; 261 i…

pango_script_for_unichar

89 pango_script_for_unichar (gunichar ch) 90 { 91 return g_unichar_get_script (ch); 92 } 93 g_unichar_get_script?() GUnicodeScript g_unichar_get_script (gunichar ch); Looks up the GUnicodeScript for a particular character (as defined by Un…

itemize_state_process_run

pango-view Default [C/C++ Application] pango-view [62093] [cores: 0] Thread #1 [pango-view] 62093 [core: 0] (Suspended : Step) itemize_state_process_run() at pango-context.c:1,482 0x7ffff7ba7d5f pango_itemize_with_base_dir() at pango-conte…