のねのBlog

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

2017-01-01から1年間の記事一覧

afdko 環境

AFDKO_EXE_PATH= "C:\FDK\Tools\win\" AFDKO_Python= "C:\FDK\Tools\win\Python\AFDKOPython27\python" AFDKO_Python_BIN= "C:\FDK\Tools\win\Python\AFDKOPython27\Scripts" AFDKO_Scripts= "C:\FDK\Tools\SharedData\FDKScripts" Path= C:\FDK\Tools\win;C…

Gtk# .Net Visual Studio

GtkSharp: Hello World | Mono プロジェクトで参照の追加 参照マネージャ>アセンブリ>拡張 glib-sharp追加 gtk-sharp追加 (glade-sharp)未追加 (gtk-dotnet)未追加 (gdk-sharp)未追加glibsharpglue-2が見つかりません。System.DllNotFoundException が発生…

mono binary

mono(x86)をインストールしてみると、"Open Mono x86 Comand Prompt"がインストールされる。 C:\Program Files (x86)\Mono>mono Usage is: mono [options] program [program-options] Development: --aot[=<options>] Compiles the assembly to native code --debug[=<options></options></options>…

vcpkg diff patch失敗と修正

PS C:\MyGitHub\vcpkg> .\vcpkg remove harfbuzz The following packages will be removed: harfbuzz:x86-windows Removing package harfbuzz:x86-windows... Removing package harfbuzz:x86-windows... done Purging package harfbuzz:x86-windows... Some …

vcpkgのdiffの作り方

PS C:\MyGitHub\vcpkg\buildtrees\harfbuzz\src\harfbuzz-1.5.1> git init . Initialized empty Git repository in C:/MyGitHub/vcpkg/buildtrees/harfbuzz/src/harfbuzz-1.5.1/.git/ PS C:\MyGitHub\vcpkg\buildtrees\harfbuzz\src\harfbuzz-1.5.1> git add…

vcpkg diffは、どうやって作るんだろう?

元のソースを、githubからcloneした。 SourceTreeで、まだコミットしていないファイルと、 1.51のファイルでパッチを作成してみた。indexがなんか変だな。 492992eeってどこを指しているんだろう? a984e0cが1.51のときの値。 diff --git a/src/hb-ft.cc b/s…

Vcpkg harfbuzz GenericFromFreeTypeLibrary

Winrtで名前がぶつかるのを防いでいるみたい。有効にしておこう。むむむ、どうやってdiffをとればいいんだろう? diff --git "a/harfbuzz-1.4.6/src/hb-ft.cc" "b/harfbuzz-1.4.6/src/hb-ft.cc" index 48d6a0ef..f4ce6608 100644 --- "a/harfbuzz-1.4.6/src/…

vcpkg harfbuzz1.5.1

vcpkgのharfbuzzは、1.4.6でした。 そこで、harfbuzzを1.4.6から1.5.1に、してみました。 diffの部分は、まだよくわからなかったので、コメントアウトしてあります。 一応、これでコンパイルまではできそうです。 include(vcpkg_common_functions) set(SOURC…

windowsのpowershellで、sha512のハッシュを取得する方法

Get-FileHashだと、sha512が途中で切れてしまう。 PS > Get-FileHash .\harfbuzz-1.5.1.tar.bz2 -Algorithm SHA512 Algorithm Hash Path --------- ---- ---- SHA512 E5235C9FE4524059128F97E2773056533803B40DB70C18B43C8DC6E27A970EFC40D... harfbuzz-1.5.…

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