⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.win32

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 WIN32
字号:
The Pango backends written for Win32 is pangowin32. Pangowin32 usesthe Win32 GDI font API. GTK+ 2.8 and later on Win32 however actuallyuses the pangocairo backend (which then uses only small parts ofpangowin32). Much of the GDI font API calls are in cairo.The pangoft2 backend was originally written with Win32 in mind, butits main use nowadays is on other platforms than Win32.There are two ways to build Pango for Win32:1) Use gcc (mingw), libtool, make, like on Unix.If building from CVS, run the autogen.sh script that runs aclocal,automake, autoconf and configure to build makefiles etc. This is whattml@novell.com uses. Pass the same switches to autogen.sh that youwould pass to the configure script.If building from a tarball, just running the configure script and thenmake should be enough. But, as always, you need to understand what ishappening and follow the progress in case manual intervention isneeded.If you want to support complex scripts (which you should!), you needthe usp10.h header from the Platform SDK. Otherwise the basic-win32shaper module won' use Uniscribe and for instance Arabic and Indicscripts will look like crap. (Yes, complex script support *is*important. It is one of the main selling points of GTK+ and Pango.)Pass the --with-usp10 flag to the configure script to tell it whereyou have the Platform SDK (or other source of an "usp10.h" or"include/usp10.h" file).tml ran the configure script like this when building binaries forPango 1.10.0:PATH=/devel/dist/glib-2.8.0/bin:$PATH ACLOCAL_FLAGS="-I /devel/dist/glib-2.8.0/share/aclocal" PKG_CONFIG_PATH=/devel/dist/glib-2.8.0/lib/pkgconfig:$PKG_CONFIG_PATH CC='gcc -mtune=pentium3' CPPFLAGS='-I/opt/gnu/include' LDFLAGS='-L/opt/gnu/lib' CFLAGS=-O ./configure --disable-gtk-doc --with-usp10=/opt/psdk  --without-x --prefix=c:/devel/target/pango-1.10.0The pango.modules file tends not to get automatically set up correctlyon Win32. Check that. Also make sure you set up a pango.aliases fileif you want to support non-Latin scripts. pango.aliases file used bytml looks like this:tahoma = "tahoma,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal"sans = "arial,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal"serif = "times new roman,angsana new,mingliu,simsun,gulimche,ms gothic,latha,mangal"monospace = "courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,latha,mangal"2) Use MSVC and nmake. Use the makefile.msc makefiles. These makefilesare supported by Hans Breuer. They requires manual editing. You needto have the source code to some suitable version of glib in a siblingdirectory. Ask Hans for advice.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -