のねのBlog

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

2017-10-01から1ヶ月間の記事一覧

pango PangoAnalysis

void pango_shape (const gchar *text, gint length, const PangoAnalysis *analysis, PangoGlyphString *glyphs) { pango_shape_full (text, length, text, length, analysis, glyphs); } void pango_shape_full (const gchar *item_text, gint item_length…

Pango PangoAnalysis

#ifndef __PANGO_ITEM_H__ 23 #define __PANGO_ITEM_H__ 24 25 #include <pango/pango-types.h> 26 27 G_BEGIN_DECLS 28 29 typedef struct _PangoAnalysis PangoAnalysis; 30 typedef struct _PangoItem PangoItem; 31 40 #define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0</pango/pango-types.h>…

pango cairo

Fonts

pango engine

PangoEngineShape: Pango Reference Manual

pango pango_ot_buffer_output

159 171 void 172 pango_ot_buffer_output (const PangoOTBuffer *buffer, 173 PangoGlyphString *glyphs) 174 { 175 unsigned int i; 176 int last_cluster; 177 178 unsigned int num_glyphs; 179 hb_buffer_t *hb_buffer = buffer->buffer; 180 hb_glyph_…

pango language test

pango/test-ot-tags.c at master · GNOME/pango · GitHub

pango-language.c

pango/pango-language.c at master · GNOME/pango · GitHub #include "config.h" #include <errno.h> #include <string.h> #include <stdlib.h> #include <math.h> #include <locale.h> #include "pango-language.h" #include "pango-impl-utils.h" #ifdef HAVE_CORE_TEXT #include <CoreFoundation/CoreFoundation.h> #end…</corefoundation/corefoundation.h></locale.h></math.h></stdlib.h></string.h></errno.h>

pango pango_context_get_language

// Returns the approximate number of characters that can horizontally fit in // |pixel_width| pixels. int GetCharacterWidthForPixels(GtkWidget* widget, int pixel_width) { DCHECK(gtk_widget_get_realized(widget)) << " widget must be realized…

vcpkg harfbuzz 1.4.6

重大度レベル コード 説明 プロジェクト ファイル 行 抑制状態 警告 C4100 'error': 引数は関数の本体部で 1 度も参照されません。 hbTools c:\users\m_fujii\documents\github\vcpkg\buildtrees\harfbuzz\src\harfbuzz-1.4.6\util\options.hh 96 警告 C4100…

エラー C3861 'hb_buffer_append': 識別子が見つかりませんでした

githubから、harfbuzzをcloneして、コンパイルすると以下のエラーになった。 コンパイルは、visual studioでプロジェクトを作成し、hb-view.ccをコンパイルした。includeは、vcpkgのフォルダを以下のフォルダを指定した。 GitHub\vcpkg\installed\x86-window…

harfbuzz main.c

#include "hb-mutex-private.hh" #include "hb-open-file-private.hh" #include "hb-ot-layout-gdef-table.hh" #include "hb-ot-layout-gsubgpos-private.hh" #ifdef HAVE_GLIB #include <glib.h> #endif #include <stdlib.h> #include <stdio.h> using namespace OT; int main (int arg</stdio.h></stdlib.h></glib.h>…

hb_buffer_append

hb-buffer.cc(1715): * hb_buffer_append: hb-buffer.cc(1726): hb_buffer_append (hb_buffer_t *buffer, hb-buffer.h(377): hb_buffer_append (hb_buffer_t *buffer, ソースのどこかに、notdefがあってエラーになってるみたいだ。 / .notdef

vcpkg integrate install

PS C:\Users\u0\Documents\GitHub\vcpkg> .\vcpkg integrate install Applied user-wide integration for this vcpkg root. All MSBuild C++ projects can now #include any installed libraries. Linking will be handled automatically. Installing new li…

vcpkg harfvbuzz

> .\vcpkg install harfbuzz

vcpkg freetype

> .\vcpkg search freetype

search

C:\Users\m_fujii\Documents\GitHub\vcpkg>vcpkg search

vcpkg

\GitHub\vcpkg のディレクトリ>.\bootstrap-vcpkg.bat

vcpkg

docs.microsoft.com

msys2

MSYS2 homepage

harfbuzzのwin32のreadme

harfbuzzのwin32のreadme

harfbuzz\win32>nmake /F Makefile.vc CFG=debug

harfbuzz\win32>nmake /F Makefile.vc CFG=debug

'ragel' は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 NMAKE : fatal error U1077: 'ragel' : リターン コード '0x1'

>nmake /f Makefile.vc CFG=release Microsoft(R) Program Maintenance Utility Version 14.11.25508.2 Copyright (C) Microsoft Corporation. All rights reserved. ragel -e -F1 -o ..\src\hb-ot-shape-complex-indic-machine.hh ..\src\hb-ot-shape-compl…

NMAKE : fatal error U1073: 'config.h.win32' のビルド方法が指定されていません。

cd C:\Users\u01\Documents\GitHub\harfbuzz\win32>nmake /f Makefile.vc CFG=debugMicrosoft(R) Program Maintenance Utility Version 14.11.25508.2 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: 'config.h.win…