HGGitLab

Commit a7a48512 authored by luoliangyi's avatar luoliangyi

增加aarch64的库

parent 44394a8e
Pipeline #25 canceled with stages
...@@ -2173,14 +2173,14 @@ No: add new configuration</oldsource> ...@@ -2173,14 +2173,14 @@ No: add new configuration</oldsource>
<location filename="hg_settingdialog.cpp" line="1699"/> <location filename="hg_settingdialog.cpp" line="1699"/>
<location filename="hg_settingdialog.cpp" line="1732"/> <location filename="hg_settingdialog.cpp" line="1732"/>
<source>yes</source> <source>yes</source>
<translation type="unfinished">确定</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="hg_settingdialog.cpp" line="1456"/> <location filename="hg_settingdialog.cpp" line="1456"/>
<location filename="hg_settingdialog.cpp" line="1700"/> <location filename="hg_settingdialog.cpp" line="1700"/>
<location filename="hg_settingdialog.cpp" line="1733"/> <location filename="hg_settingdialog.cpp" line="1733"/>
<source>no</source> <source>no</source>
<translation type="unfinished">取消</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="hg_settingdialog.cpp" line="1661"/> <location filename="hg_settingdialog.cpp" line="1661"/>
......
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
RC_ICONS = ../../../../app/scanner/image_rsc/logo/logo.ico
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
unix {
LIBS += -L../../../../../Release/bin/uos/aarch64 -lHGBase -lHGImgFmt -lHGImgProc -lpdf -lmupdf -lhgdriver -lsane-hgsane
CONFIG(release, debug|release) {
DESTDIR = ../../../../../Release/bin/uos/aarch64/
}
CONFIG(debug, debug|release) {
}
}
INCLUDEPATH += $$PWD/../../../../ui/
INCLUDEPATH += $$PWD/../../../../app/scanner/
INCLUDEPATH += $$PWD/../../../../../Release/include/
INCLUDEPATH += $$PWD/../../../../../Release/include/sane/
INCLUDEPATH += $$PWD/../../../../third_party/sane/
SOURCES += \
../../../../app/scanner/dialog_aquireinto.cpp \
../../../../app/scanner/dialog_clrcache.cpp \
../../../../app/scanner/dialog_export.cpp \
../../../../app/scanner/dialog_exportimagefile.cpp \
../../../../app/scanner/dialog_fullscreen.cpp \
../../../../app/scanner/dialog_imageinfo.cpp \
../../../../app/scanner/dialog_imgproc_adjust.cpp \
../../../../app/scanner/dialog_imgproc_autocrop.cpp \
../../../../app/scanner/dialog_insertindex.cpp \
../../../../app/scanner/dialog_logmanager.cpp \
../../../../app/scanner/dialog_multirotate.cpp \
../../../../app/scanner/dialog_multirotateimagefile.cpp \
../../../../app/scanner/dialog_openimageindex.cpp \
../../../../app/scanner/dialog_passwordchange.cpp \
../../../../app/scanner/dialog_saveas.cpp \
../../../../app/scanner/dialog_savequality.cpp \
../../../../app/scanner/hg_settingdialog.cpp \
../../../../app/scanner/main.cpp \
../../../../app/scanner/mainwindow.cpp \
../../../../app/scanner/widget_imgproc_base.cpp \
../../../../app/scanner/widget_statusbar.cpp \
../../../../app/scanner/dialog_admin.cpp \
../../../../app/scanner/dialog_log.cpp \
../../../../app/scanner/config.cpp \
../../../../app/scanner/json.cpp \
../../../../app/scanner/cJSON.c \
../../../../ui/HGImgThumb.cpp \
../../../../ui/HGImgView.cpp \
../../../../ui/HGUIGlobal.cpp \
../../../../app/scanner/dialog_moveto.cpp \
../../../../app/scanner/app_cfg.cpp \
../../../../app/scanner/dialog_imageeditor.cpp \
../../../../app/scanner/graphicsscene.cpp \
../../../../app/scanner/device_menu.cpp \
../../../../app/scanner/sane_device.cpp \
../../../../utility/HGString.cpp
HEADERS += \
../../../../app/scanner/dialog_aquireinto.h \
../../../../app/scanner/dialog_clrcache.h \
../../../../app/scanner/dialog_export.h \
../../../../app/scanner/dialog_exportimagefile.h \
../../../../app/scanner/dialog_fullscreen.h \
../../../../app/scanner/dialog_imageinfo.h \
../../../../app/scanner/dialog_imgproc_adjust.h \
../../../../app/scanner/dialog_imgproc_autocrop.h \
../../../../app/scanner/dialog_insertindex.h \
../../../../app/scanner/dialog_logmanager.h \
../../../../app/scanner/dialog_multirotate.h \
../../../../app/scanner/dialog_multirotateimagefile.h \
../../../../app/scanner/dialog_openimageindex.h \
../../../../app/scanner/dialog_passwordchange.h \
../../../../app/scanner/dialog_saveas.h \
../../../../app/scanner/dialog_savequality.h \
../../../../app/scanner/hg_settingdialog.h \
../../../../app/scanner/mainwindow.h \
../../../../app/scanner/widget_imgproc_base.h \
../../../../app/scanner/widget_statusbar.h \
../../../../app/scanner/dialog_admin.h \
../../../../app/scanner/dialog_log.h \
../../../../app/scanner/config.h \
../../../../app/scanner/json.h \
../../../../app/scanner/cJSON.h \
../../../../ui/HGImgThumb.h \
../../../../ui/HGImgView.h \
../../../../ui/HGUIGlobal.h \
../../../../app/scanner/dialog_moveto.h \
../../../../app/scanner/app_cfg.h \
../../../../app/scanner/dialog_imageeditor.h \
../../../../app/scanner/graphicsscene.h \
../../../../app/scanner/device_menu.h \
../../../../app/scanner/sane_device.h \
../../../../utility/HGString.h
FORMS += \
../../../../app/scanner/dialog_admin.ui \
../../../../app/scanner/dialog_aquireinto.ui \
../../../../app/scanner/dialog_clrcache.ui \
../../../../app/scanner/dialog_export.ui \
../../../../app/scanner/dialog_exportimagefile.ui \
../../../../app/scanner/dialog_fullscreen.ui \
../../../../app/scanner/dialog_imageinfo.ui \
../../../../app/scanner/dialog_imgproc_adjust.ui \
../../../../app/scanner/dialog_imgproc_autocrop.ui \
../../../../app/scanner/dialog_insertindex.ui \
../../../../app/scanner/dialog_logmanager.ui \
../../../../app/scanner/dialog_multirotate.ui \
../../../../app/scanner/dialog_multirotateimagefile.ui \
../../../../app/scanner/dialog_openimageindex.ui \
../../../../app/scanner/dialog_saveas.ui \
../../../../app/scanner/dialog_savequality.ui \
../../../../app/scanner/mainwindow.ui \
../../../../app/scanner/widget_imgproc_base.ui \
../../../../app/scanner/widget_statusbar.ui \
../../../../app/scanner/dialog_passwordchange.ui \
../../../../app/scanner/dialog_log.ui \
../../../../app/scanner/dialog_moveto.ui \
../../../../app/scanner/dialog_imageeditor.ui
TRANSLATIONS += \
../../../../app/scanner/Scanner_zh_CN.ts
RESOURCES += \
../../../../app/scanner/Scanner_resource.qrc
DISTFILES += \
../../../../app/scanner/Scanner_zh_CN.qm \
../../../../app/scanner/qt_zh_CN.qm
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
RC_ICONS = ../../../../app/scanner/image_rsc/logo/logo.ico
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
unix {
LIBS += -L../../../../../Release/bin/uos/mips64 -lHGBase -lHGImgFmt -lHGImgProc -lpdf -lmupdf -lhgdriver -lsane-hgsane
CONFIG(release, debug|release) {
DESTDIR = ../../../../../Release/bin/uos/mips64/
}
CONFIG(debug, debug|release) {
}
}
INCLUDEPATH += $$PWD/../../../../ui/
INCLUDEPATH += $$PWD/../../../../app/scanner/
INCLUDEPATH += $$PWD/../../../../../Release/include/
INCLUDEPATH += $$PWD/../../../../../Release/include/sane/
INCLUDEPATH += $$PWD/../../../../third_party/sane/
SOURCES += \
../../../../app/scanner/dialog_aquireinto.cpp \
../../../../app/scanner/dialog_clrcache.cpp \
../../../../app/scanner/dialog_export.cpp \
../../../../app/scanner/dialog_exportimagefile.cpp \
../../../../app/scanner/dialog_fullscreen.cpp \
../../../../app/scanner/dialog_imageinfo.cpp \
../../../../app/scanner/dialog_imgproc_adjust.cpp \
../../../../app/scanner/dialog_imgproc_autocrop.cpp \
../../../../app/scanner/dialog_insertindex.cpp \
../../../../app/scanner/dialog_logmanager.cpp \
../../../../app/scanner/dialog_multirotate.cpp \
../../../../app/scanner/dialog_multirotateimagefile.cpp \
../../../../app/scanner/dialog_openimageindex.cpp \
../../../../app/scanner/dialog_passwordchange.cpp \
../../../../app/scanner/dialog_saveas.cpp \
../../../../app/scanner/dialog_savequality.cpp \
../../../../app/scanner/hg_settingdialog.cpp \
../../../../app/scanner/main.cpp \
../../../../app/scanner/mainwindow.cpp \
../../../../app/scanner/widget_imgproc_base.cpp \
../../../../app/scanner/widget_statusbar.cpp \
../../../../app/scanner/dialog_admin.cpp \
../../../../app/scanner/dialog_log.cpp \
../../../../app/scanner/config.cpp \
../../../../app/scanner/json.cpp \
../../../../app/scanner/cJSON.c \
../../../../ui/HGImgThumb.cpp \
../../../../ui/HGImgView.cpp \
../../../../ui/HGUIGlobal.cpp \
../../../../app/scanner/dialog_moveto.cpp \
../../../../app/scanner/app_cfg.cpp \
../../../../app/scanner/dialog_imageeditor.cpp \
../../../../app/scanner/graphicsscene.cpp \
../../../../app/scanner/device_menu.cpp \
../../../../app/scanner/sane_device.cpp \
../../../../utility/HGString.cpp
HEADERS += \
../../../../app/scanner/dialog_aquireinto.h \
../../../../app/scanner/dialog_clrcache.h \
../../../../app/scanner/dialog_export.h \
../../../../app/scanner/dialog_exportimagefile.h \
../../../../app/scanner/dialog_fullscreen.h \
../../../../app/scanner/dialog_imageinfo.h \
../../../../app/scanner/dialog_imgproc_adjust.h \
../../../../app/scanner/dialog_imgproc_autocrop.h \
../../../../app/scanner/dialog_insertindex.h \
../../../../app/scanner/dialog_logmanager.h \
../../../../app/scanner/dialog_multirotate.h \
../../../../app/scanner/dialog_multirotateimagefile.h \
../../../../app/scanner/dialog_openimageindex.h \
../../../../app/scanner/dialog_passwordchange.h \
../../../../app/scanner/dialog_saveas.h \
../../../../app/scanner/dialog_savequality.h \
../../../../app/scanner/hg_settingdialog.h \
../../../../app/scanner/mainwindow.h \
../../../../app/scanner/widget_imgproc_base.h \
../../../../app/scanner/widget_statusbar.h \
../../../../app/scanner/dialog_admin.h \
../../../../app/scanner/dialog_log.h \
../../../../app/scanner/config.h \
../../../../app/scanner/json.h \
../../../../app/scanner/cJSON.h \
../../../../ui/HGImgThumb.h \
../../../../ui/HGImgView.h \
../../../../ui/HGUIGlobal.h \
../../../../app/scanner/dialog_moveto.h \
../../../../app/scanner/app_cfg.h \
../../../../app/scanner/dialog_imageeditor.h \
../../../../app/scanner/graphicsscene.h \
../../../../app/scanner/device_menu.h \
../../../../app/scanner/sane_device.h \
../../../../utility/HGString.h
FORMS += \
../../../../app/scanner/dialog_admin.ui \
../../../../app/scanner/dialog_aquireinto.ui \
../../../../app/scanner/dialog_clrcache.ui \
../../../../app/scanner/dialog_export.ui \
../../../../app/scanner/dialog_exportimagefile.ui \
../../../../app/scanner/dialog_fullscreen.ui \
../../../../app/scanner/dialog_imageinfo.ui \
../../../../app/scanner/dialog_imgproc_adjust.ui \
../../../../app/scanner/dialog_imgproc_autocrop.ui \
../../../../app/scanner/dialog_insertindex.ui \
../../../../app/scanner/dialog_logmanager.ui \
../../../../app/scanner/dialog_multirotate.ui \
../../../../app/scanner/dialog_multirotateimagefile.ui \
../../../../app/scanner/dialog_openimageindex.ui \
../../../../app/scanner/dialog_saveas.ui \
../../../../app/scanner/dialog_savequality.ui \
../../../../app/scanner/mainwindow.ui \
../../../../app/scanner/widget_imgproc_base.ui \
../../../../app/scanner/widget_statusbar.ui \
../../../../app/scanner/dialog_passwordchange.ui \
../../../../app/scanner/dialog_log.ui \
../../../../app/scanner/dialog_moveto.ui \
../../../../app/scanner/dialog_imageeditor.ui
TRANSLATIONS += \
../../../../app/scanner/Scanner_zh_CN.ts
RESOURCES += \
../../../../app/scanner/Scanner_resource.qrc
DISTFILES += \
../../../../app/scanner/Scanner_zh_CN.qm \
../../../../app/scanner/qt_zh_CN.qm
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGBase" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGBase" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/aarch64/HGBase" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-O2" />
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
</Compiler>
<Linker>
<Add option="-lpthread" />
<Add option="-luuid" />
<Add option="-ldl" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../base/HGBase.h" />
<Unit filename="../../../../base/HGBase64.cpp" />
<Unit filename="../../../../base/HGBase64.h" />
<Unit filename="../../../../base/HGBaseErr.h" />
<Unit filename="../../../../base/HGBuffer.cpp" />
<Unit filename="../../../../base/HGBuffer.h" />
<Unit filename="../../../../base/HGConsole.cpp" />
<Unit filename="../../../../base/HGConsole.h" />
<Unit filename="../../../../base/HGDef.h" />
<Unit filename="../../../../base/HGDes.cpp" />
<Unit filename="../../../../base/HGDes.h" />
<Unit filename="../../../../base/HGDll.cpp" />
<Unit filename="../../../../base/HGDll.h" />
<Unit filename="../../../../base/HGEvent.cpp" />
<Unit filename="../../../../base/HGEvent.h" />
<Unit filename="../../../../base/HGImage.cpp" />
<Unit filename="../../../../base/HGImage.h" />
<Unit filename="../../../../base/HGInc.h" />
<Unit filename="../../../../base/HGInfo.cpp" />
<Unit filename="../../../../base/HGInfo.h" />
<Unit filename="../../../../base/HGInfoImpl.cpp" />
<Unit filename="../../../../base/HGInfoImpl.hpp" />
<Unit filename="../../../../base/HGLock.cpp" />
<Unit filename="../../../../base/HGLock.h" />
<Unit filename="../../../../base/HGLog.cpp" />
<Unit filename="../../../../base/HGLog.h" />
<Unit filename="../../../../base/HGMd5.cpp" />
<Unit filename="../../../../base/HGMd5.h" />
<Unit filename="../../../../base/HGThread.cpp" />
<Unit filename="../../../../base/HGThread.h" />
<Unit filename="../../../../base/HGUtility.cpp" />
<Unit filename="../../../../base/HGUtility.h" />
<Unit filename="../../../../base/dllmain.cpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGImgFmt" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGImgFmt" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/aarch64/HGImgFmt" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/libjpeg/uos/aarch64/include" />
<Add directory="../../../../third_party/libnsbmp/uos/aarch64/include" />
<Add directory="../../../../third_party/libpng/uos/aarch64/include/libpng16" />
<Add directory="../../../../third_party/libtiff/uos/aarch64/include" />
<Add directory="../../../../third_party/libzip/uos/aarch64/include" />
<Add directory="../../../../third_party/tinyxml2/uos/aarch64/include" />
<Add directory="../../../../third_party/pdflib/uos/aarch64/include" />
<Add directory="../../../../third_party/mupdf/uos/aarch64/include" />
</Compiler>
<Linker>
<Add option="-L../../../../third_party/libjpeg/uos/aarch64/lib -ljpeg" />
<Add option="-L../../../../third_party/libnsbmp/uos/aarch64/lib -lnsbmp" />
<Add option="-L../../../../third_party/libpng/uos/aarch64/lib -lpng16" />
<Add option="-L../../../../third_party/libtiff/uos/aarch64/lib -ltiff" />
<Add option="-L../../../../third_party/libzip/uos/aarch64/lib -lzip" />
<Add option="-L../../../../third_party/tinyxml2/uos/aarch64/lib -ltinyxml2" />
<Add option="-L../../../../third_party/zlib/uos/aarch64/lib -lz" />
<Add option="-L../../../../../Release/bin/uos/aarch64 -lHGBase -lmupdf -lpdf" />
<Add option="-Wl,--exclude-libs,ALL" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../imgfmt/HGBmp.cpp" />
<Unit filename="../../../../imgfmt/HGBmp.h" />
<Unit filename="../../../../imgfmt/HGImgFmt.cpp" />
<Unit filename="../../../../imgfmt/HGImgFmt.h" />
<Unit filename="../../../../imgfmt/HGImgFmtErr.h" />
<Unit filename="../../../../imgfmt/HGJpeg.cpp" />
<Unit filename="../../../../imgfmt/HGJpeg.h" />
<Unit filename="../../../../imgfmt/HGOfd.cpp" />
<Unit filename="../../../../imgfmt/HGOfd.h" />
<Unit filename="../../../../imgfmt/HGOfdImpl.cpp" />
<Unit filename="../../../../imgfmt/HGOfdImpl.hpp" />
<Unit filename="../../../../imgfmt/HGPdf.cpp" />
<Unit filename="../../../../imgfmt/HGPdf.h" />
<Unit filename="../../../../imgfmt/HGPng.cpp" />
<Unit filename="../../../../imgfmt/HGPng.h" />
<Unit filename="../../../../imgfmt/HGTiff.cpp" />
<Unit filename="../../../../imgfmt/HGTiff.h" />
<Unit filename="../../../../utility/HGString.cpp" />
<Unit filename="../../../../utility/HGString.h" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGImgProc" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGImgProc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/aarch64/HGImgProc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/opencv/uos/aarch64/include" />
</Compiler>
<Linker>
<Add option="-L../../../../third_party/opencv/uos/aarch64/lib" />
<Add option="-lopencv_highgui" />
<Add option="-lopencv_features2d" />
<Add option="-lopencv_imgproc" />
<Add option="-lopencv_core" />
<Add option="-littnotify" />
<Add option="-lzlib" />
<Add option="-L../../../../../Release/bin/uos/aarch64 -lHGBase" />
<Add option="-ldl" />
<Add option="-lpthread" />
<Add option="-Wl,--exclude-libs,ALL" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../imgproc/HGImgProc.cpp" />
<Unit filename="../../../../imgproc/HGImgProc.h" />
<Unit filename="../../../../imgproc/HGImgProcErr.h" />
<Unit filename="../../../../imgproc/hg_imageprocess.cpp" />
<Unit filename="../../../../imgproc/hg_imageprocess.hpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGSaneUser" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGSaneUser" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/aarch64/HGSaneUser" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/sane" />
</Compiler>
<Unit filename="../../../../sane_user/HGSane.cpp" />
<Unit filename="../../../../sane_user/HGSane.h" />
<Unit filename="../../../../sane_user/HGSaneErr.h" />
<Unit filename="../../../../sane_user/HGSaneImpl.cpp" />
<Unit filename="../../../../sane_user/HGSaneImpl.hpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGTest" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGTest" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/HGTest" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Linker>
<Add option="-L../../../../../Release/bin/uos/aarch64/" />
<Add option="-lHGBase" />
<Add option="-lHGImgFmt" />
<Add option="-lmupdf" />
<Add option="-lpdf" />
<Add option="-lHGImgProc" />
</Linker>
<Unit filename="main.cpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
#include "stdio.h"
#include "../../../../base/HGBase.h"
#include "../../../../imgfmt/HGImgFmt.h"
#include "../../../../imgproc/HGImgProc.h"
int main()
{
HGImage img = NULL;
HGImgFmt_LoadImage("1.pdf", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "pdf2pdf.pdf");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.jpg", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "jpg2pdf.pdf");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.pdf", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "pdf2jpg.jpg");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.bmp", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_BOTTOM, &img);
HGImage imgCrop = NULL;
HGImgProc_ImageDeskew(img, HGFALSE, HGFALSE, NULL, 800, 1200, HGBASE_IMGTYPE_BGRA, HGBASE_IMGORIGIN_TOP, &imgCrop);
HGImgFmt_SaveImage(imgCrop, 0, NULL, 0, "deskew.bmp");
HGBase_DestroyImage(imgCrop);
HGBase_DestroyImage(img);
HGBase_WriteInfo(HGBASE_INFOTYPE_DEBUG, "%d", 123456);
HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "%d", 12345);
return 0;
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGWebService" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGWebService" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/aarch64/HGWebService" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
<Add directory="../../../../third_party/sha1" />
<Add directory="../../../../third_party/base64" />
<Add directory="../../../../third_party/sane" />
<Add directory="../../../../../Release/include" />
<Add directory="../../../../third_party/libzip/uos/aarch64/include" />
<Add directory="../../../../third_party/json" />
<Add directory="../../../../../Release/include/sane/" />
</Compiler>
<Linker>
<Add option="-L../../../../../Release/bin/uos/aarch64" />
<Add option="-lHGBase" />
<Add option="-lHGImgFmt" />
<Add option="-lmupdf" />
<Add option="-lpdf" />
<Add option="-lsane-hgsane" />
<Add option="-lhgdriver" />
<Add option="-L../../../../third_party/libzip/uos/aarch64/lib -lzip" />
<Add option="-L../../../../third_party/zlib/uos/aarch64/lib -lz" />
</Linker>
<Unit filename="../../../../sdk/webservice/HttpHead.cpp" />
<Unit filename="../../../../sdk/webservice/HttpHead.h" />
<Unit filename="../../../../sdk/webservice/HttpUser.cpp" />
<Unit filename="../../../../sdk/webservice/HttpUser.h" />
<Unit filename="../../../../sdk/webservice/Manager.cpp" />
<Unit filename="../../../../sdk/webservice/Manager.h" />
<Unit filename="../../../../sdk/webservice/MsgLoop.cpp" />
<Unit filename="../../../../sdk/webservice/MsgLoop.h" />
<Unit filename="../../../../sdk/webservice/SockIoUser.cpp" />
<Unit filename="../../../../sdk/webservice/SockIoUser.h" />
<Unit filename="../../../../sdk/webservice/WebMsg.h" />
<Unit filename="../../../../sdk/webservice/WebServer.cpp" />
<Unit filename="../../../../sdk/webservice/WebServer.h" />
<Unit filename="../../../../sdk/webservice/WebUser.cpp" />
<Unit filename="../../../../sdk/webservice/WebUser.h" />
<Unit filename="../../../../sdk/webservice/WsUser.cpp" />
<Unit filename="../../../../sdk/webservice/WsUser.h" />
<Unit filename="../../../../sdk/webservice/main.cpp" />
<Unit filename="../../../../third_party/base64/base64.cpp" />
<Unit filename="../../../../third_party/base64/base64.h" />
<Unit filename="../../../../third_party/json/cJSON.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../../third_party/json/cJSON.h" />
<Unit filename="../../../../third_party/sha1/sha1.cpp" />
<Unit filename="../../../../third_party/sha1/sha1.h" />
<Unit filename="../../../../utility/HGString.cpp" />
<Unit filename="../../../../utility/HGString.h" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_workspace_file>
<Workspace title="Workspace">
<Project filename="HGBase/HGBase.cbp" />
<Project filename="HGImgFmt/HGImgFmt.cbp" />
<Project filename="HGImgProc/HGImgProc.cbp" />
<Project filename="HGTest/HGTest.cbp" />
<Project filename="HGSaneUser/HGSaneUser.cbp" />
<Project filename="HGWebService/HGWebService.cbp" />
</Workspace>
</CodeBlocks_workspace_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGBase" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGBase" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/mips64/HGBase" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-O2" />
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
</Compiler>
<Linker>
<Add option="-lpthread" />
<Add option="-luuid" />
<Add option="-ldl" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../base/HGBase.h" />
<Unit filename="../../../../base/HGBase64.cpp" />
<Unit filename="../../../../base/HGBase64.h" />
<Unit filename="../../../../base/HGBaseErr.h" />
<Unit filename="../../../../base/HGBuffer.cpp" />
<Unit filename="../../../../base/HGBuffer.h" />
<Unit filename="../../../../base/HGConsole.cpp" />
<Unit filename="../../../../base/HGConsole.h" />
<Unit filename="../../../../base/HGDef.h" />
<Unit filename="../../../../base/HGDes.cpp" />
<Unit filename="../../../../base/HGDes.h" />
<Unit filename="../../../../base/HGDll.cpp" />
<Unit filename="../../../../base/HGDll.h" />
<Unit filename="../../../../base/HGEvent.cpp" />
<Unit filename="../../../../base/HGEvent.h" />
<Unit filename="../../../../base/HGImage.cpp" />
<Unit filename="../../../../base/HGImage.h" />
<Unit filename="../../../../base/HGInc.h" />
<Unit filename="../../../../base/HGInfo.cpp" />
<Unit filename="../../../../base/HGInfo.h" />
<Unit filename="../../../../base/HGInfoImpl.cpp" />
<Unit filename="../../../../base/HGInfoImpl.hpp" />
<Unit filename="../../../../base/HGLock.cpp" />
<Unit filename="../../../../base/HGLock.h" />
<Unit filename="../../../../base/HGLog.cpp" />
<Unit filename="../../../../base/HGLog.h" />
<Unit filename="../../../../base/HGMd5.cpp" />
<Unit filename="../../../../base/HGMd5.h" />
<Unit filename="../../../../base/HGThread.cpp" />
<Unit filename="../../../../base/HGThread.h" />
<Unit filename="../../../../base/HGUtility.cpp" />
<Unit filename="../../../../base/HGUtility.h" />
<Unit filename="../../../../base/dllmain.cpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGImgFmt" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGImgFmt" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/mips64/HGImgFmt" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/libjpeg/uos/mips64/include" />
<Add directory="../../../../third_party/libnsbmp/uos/mips64/include" />
<Add directory="../../../../third_party/libpng/uos/mips64/include/libpng16" />
<Add directory="../../../../third_party/libtiff/uos/mips64/include" />
<Add directory="../../../../third_party/libzip/uos/mips64/include" />
<Add directory="../../../../third_party/tinyxml2/uos/mips64/include" />
<Add directory="../../../../third_party/pdflib/uos/mips64/include" />
<Add directory="../../../../third_party/mupdf/uos/mips64/include" />
</Compiler>
<Linker>
<Add option="-L../../../../third_party/libjpeg/uos/mips64/lib -ljpeg" />
<Add option="-L../../../../third_party/libnsbmp/uos/mips64/lib -lnsbmp" />
<Add option="-L../../../../third_party/libpng/uos/mips64/lib -lpng16" />
<Add option="-L../../../../third_party/libtiff/uos/mips64/lib -ltiff" />
<Add option="-L../../../../third_party/libzip/uos/mips64/lib -lzip" />
<Add option="-L../../../../third_party/tinyxml2/uos/mips64/lib -ltinyxml2" />
<Add option="-L../../../../third_party/zlib/uos/mips64/lib -lz" />
<Add option="-L../../../../../Release/bin/uos/mips64 -lHGBase -lmupdf -lpdf" />
<Add option="-Wl,--exclude-libs,ALL" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../imgfmt/HGBmp.cpp" />
<Unit filename="../../../../imgfmt/HGBmp.h" />
<Unit filename="../../../../imgfmt/HGImgFmt.cpp" />
<Unit filename="../../../../imgfmt/HGImgFmt.h" />
<Unit filename="../../../../imgfmt/HGImgFmtErr.h" />
<Unit filename="../../../../imgfmt/HGJpeg.cpp" />
<Unit filename="../../../../imgfmt/HGJpeg.h" />
<Unit filename="../../../../imgfmt/HGOfd.cpp" />
<Unit filename="../../../../imgfmt/HGOfd.h" />
<Unit filename="../../../../imgfmt/HGOfdImpl.cpp" />
<Unit filename="../../../../imgfmt/HGOfdImpl.hpp" />
<Unit filename="../../../../imgfmt/HGPdf.cpp" />
<Unit filename="../../../../imgfmt/HGPdf.h" />
<Unit filename="../../../../imgfmt/HGPng.cpp" />
<Unit filename="../../../../imgfmt/HGPng.h" />
<Unit filename="../../../../imgfmt/HGTiff.cpp" />
<Unit filename="../../../../imgfmt/HGTiff.h" />
<Unit filename="../../../../utility/HGString.cpp" />
<Unit filename="../../../../utility/HGString.h" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGImgProc" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGImgProc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/mips64/HGImgProc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/opencv/uos/mips64/include" />
</Compiler>
<Linker>
<Add option="-L../../../../third_party/opencv/uos/mips64/lib" />
<Add option="-lopencv_highgui" />
<Add option="-lopencv_features2d" />
<Add option="-lopencv_imgproc" />
<Add option="-lopencv_core" />
<Add option="-littnotify" />
<Add option="-lzlib" />
<Add option="-L../../../../../Release/bin/uos/mips64 -lHGBase" />
<Add option="-ldl" />
<Add option="-lpthread" />
<Add option="-Wl,--exclude-libs,ALL" />
<Add option="-z defs" />
<Add option="-B direct" />
</Linker>
<Unit filename="../../../../imgproc/HGImgProc.cpp" />
<Unit filename="../../../../imgproc/HGImgProc.h" />
<Unit filename="../../../../imgproc/HGImgProcErr.h" />
<Unit filename="../../../../imgproc/hg_imageprocess.cpp" />
<Unit filename="../../../../imgproc/hg_imageprocess.hpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGSaneUser" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGSaneUser" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/mips64/HGSaneUser" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fPIC" />
<Add option="-fvisibility=hidden" />
<Add directory="../../../../third_party/sane" />
</Compiler>
<Unit filename="../../../../sane_user/HGSane.cpp" />
<Unit filename="../../../../sane_user/HGSane.h" />
<Unit filename="../../../../sane_user/HGSaneErr.h" />
<Unit filename="../../../../sane_user/HGSaneImpl.cpp" />
<Unit filename="../../../../sane_user/HGSaneImpl.hpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGTest" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGTest" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/HGTest" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Linker>
<Add option="-L../../../../../Release/bin/uos/mips64/" />
<Add option="-lHGBase" />
<Add option="-lHGImgFmt" />
<Add option="-lmupdf" />
<Add option="-lpdf" />
<Add option="-lHGImgProc" />
</Linker>
<Unit filename="main.cpp" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
#include "stdio.h"
#include "../../../../base/HGBase.h"
#include "../../../../imgfmt/HGImgFmt.h"
#include "../../../../imgproc/HGImgProc.h"
int main()
{
HGImage img = NULL;
HGImgFmt_LoadImage("1.pdf", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "pdf2pdf.pdf");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.jpg", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "jpg2pdf.pdf");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.pdf", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_TOP, &img);
HGImgFmt_SaveImage(img, 0, NULL, 0, "pdf2jpg.jpg");
HGBase_DestroyImage(img);
HGImgFmt_LoadImage("1.bmp", 0, NULL, HGBASE_IMGTYPE_RGB, HGBASE_IMGORIGIN_BOTTOM, &img);
HGImage imgCrop = NULL;
HGImgProc_ImageDeskew(img, HGFALSE, HGFALSE, NULL, 800, 1200, HGBASE_IMGTYPE_BGRA, HGBASE_IMGORIGIN_TOP, &imgCrop);
HGImgFmt_SaveImage(imgCrop, 0, NULL, 0, "deskew.bmp");
HGBase_DestroyImage(imgCrop);
HGBase_DestroyImage(img);
HGBase_WriteInfo(HGBASE_INFOTYPE_DEBUG, "%d", 123456);
HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "%d", 12345);
return 0;
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="HGWebService" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/HGWebService" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="../../../../../Release/bin/uos/mips64/HGWebService" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
<Add directory="../../../../third_party/sha1" />
<Add directory="../../../../third_party/base64" />
<Add directory="../../../../third_party/sane" />
<Add directory="../../../../../Release/include" />
<Add directory="../../../../third_party/libzip/uos/mips64/include" />
<Add directory="../../../../third_party/json" />
<Add directory="../../../../../Release/include/sane/" />
</Compiler>
<Linker>
<Add option="-L../../../../../Release/bin/uos/mips64" />
<Add option="-lHGBase" />
<Add option="-lHGImgFmt" />
<Add option="-lmupdf" />
<Add option="-lpdf" />
<Add option="-lsane-hgsane" />
<Add option="-lhgdriver" />
<Add option="-L../../../../third_party/libzip/uos/mips64/lib -lzip" />
<Add option="-L../../../../third_party/zlib/uos/mips64/lib -lz" />
</Linker>
<Unit filename="../../../../sdk/webservice/HttpHead.cpp" />
<Unit filename="../../../../sdk/webservice/HttpHead.h" />
<Unit filename="../../../../sdk/webservice/HttpUser.cpp" />
<Unit filename="../../../../sdk/webservice/HttpUser.h" />
<Unit filename="../../../../sdk/webservice/Manager.cpp" />
<Unit filename="../../../../sdk/webservice/Manager.h" />
<Unit filename="../../../../sdk/webservice/MsgLoop.cpp" />
<Unit filename="../../../../sdk/webservice/MsgLoop.h" />
<Unit filename="../../../../sdk/webservice/SockIoUser.cpp" />
<Unit filename="../../../../sdk/webservice/SockIoUser.h" />
<Unit filename="../../../../sdk/webservice/WebMsg.h" />
<Unit filename="../../../../sdk/webservice/WebServer.cpp" />
<Unit filename="../../../../sdk/webservice/WebServer.h" />
<Unit filename="../../../../sdk/webservice/WebUser.cpp" />
<Unit filename="../../../../sdk/webservice/WebUser.h" />
<Unit filename="../../../../sdk/webservice/WsUser.cpp" />
<Unit filename="../../../../sdk/webservice/WsUser.h" />
<Unit filename="../../../../sdk/webservice/main.cpp" />
<Unit filename="../../../../third_party/base64/base64.cpp" />
<Unit filename="../../../../third_party/base64/base64.h" />
<Unit filename="../../../../third_party/json/cJSON.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../../third_party/json/cJSON.h" />
<Unit filename="../../../../third_party/sha1/sha1.cpp" />
<Unit filename="../../../../third_party/sha1/sha1.h" />
<Unit filename="../../../../utility/HGString.cpp" />
<Unit filename="../../../../utility/HGString.h" />
<Extensions>
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_workspace_file>
<Workspace title="Workspace">
<Project filename="HGBase/HGBase.cbp" />
<Project filename="HGImgFmt/HGImgFmt.cbp" />
<Project filename="HGImgProc/HGImgProc.cbp" />
<Project filename="HGTest/HGTest.cbp" />
<Project filename="HGSaneUser/HGSaneUser.cbp" />
<Project filename="HGWebService/HGWebService.cbp" />
</Workspace>
</CodeBlocks_workspace_file>
/* ftconfig.h. Generated from ftconfig.h.in by configure. */
/****************************************************************************
*
* ftconfig.h.in
*
* UNIX-specific configuration file (specification only).
*
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
/**************************************************************************
*
* This header file contains a number of macro definitions that are used by
* the rest of the engine. Most of the macros here are automatically
* determined at compile time, and you should not need to change it to port
* FreeType, except to compile the library with a non-ANSI compiler.
*
* Note however that if some specific modifications are needed, we advise
* you to place a modified copy in your build directory.
*
* The build directory is usually `builds/<system>`, and contains
* system-specific files that are always included first when building the
* library.
*
*/
#ifndef FTCONFIG_H_
#define FTCONFIG_H_
#include <ft2build.h>
#include FT_CONFIG_OPTIONS_H
#include FT_CONFIG_STANDARD_LIBRARY_H
#define HAVE_UNISTD_H 1
#define HAVE_FCNTL_H 1
/* #undef FT_USE_AUTOCONF_SIZEOF_TYPES */
#ifdef FT_USE_AUTOCONF_SIZEOF_TYPES
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define FT_SIZEOF_INT SIZEOF_INT
#define FT_SIZEOF_LONG SIZEOF_LONG
#endif /* FT_USE_AUTOCONF_SIZEOF_TYPES */
#include <freetype/config/integer-types.h>
#include <freetype/config/public-macros.h>
#include <freetype/config/mac-support.h>
#endif /* FTCONFIG_H_ */
/* END */
/* This is a generated file. */
FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
FT_USE_MODULE( FT_Module_Class, autofit_module_class )
FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
FT_USE_MODULE( FT_Module_Class, psaux_module_class )
FT_USE_MODULE( FT_Module_Class, psnames_module_class )
/* EOF */
/****************************************************************************
*
* ftstdlib.h
*
* ANSI-specific library and header configuration file (specification
* only).
*
* Copyright (C) 2002-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
/**************************************************************************
*
* This file is used to group all `#includes` to the ANSI~C library that
* FreeType normally requires. It also defines macros to rename the
* standard functions within the FreeType source code.
*
* Load a file which defines `FTSTDLIB_H_` before this one to override it.
*
*/
#ifndef FTSTDLIB_H_
#define FTSTDLIB_H_
#include <stddef.h>
#define ft_ptrdiff_t ptrdiff_t
/**************************************************************************
*
* integer limits
*
* `UINT_MAX` and `ULONG_MAX` are used to automatically compute the size of
* `int` and `long` in bytes at compile-time. So far, this works for all
* platforms the library has been tested on.
*
* Note that on the extremely rare platforms that do not provide integer
* types that are _exactly_ 16 and 32~bits wide (e.g., some old Crays where
* `int` is 36~bits), we do not make any guarantee about the correct
* behaviour of FreeType~2 with all fonts.
*
* In these cases, `ftconfig.h` will refuse to compile anyway with a
* message like 'couldn't find 32-bit type' or something similar.
*
*/
#include <limits.h>
#define FT_CHAR_BIT CHAR_BIT
#define FT_USHORT_MAX USHRT_MAX
#define FT_INT_MAX INT_MAX
#define FT_INT_MIN INT_MIN
#define FT_UINT_MAX UINT_MAX
#define FT_LONG_MIN LONG_MIN
#define FT_LONG_MAX LONG_MAX
#define FT_ULONG_MAX ULONG_MAX
/**************************************************************************
*
* character and string processing
*
*/
#include <string.h>
#define ft_memchr memchr
#define ft_memcmp memcmp
#define ft_memcpy memcpy
#define ft_memmove memmove
#define ft_memset memset
#define ft_strcat strcat
#define ft_strcmp strcmp
#define ft_strcpy strcpy
#define ft_strlen strlen
#define ft_strncmp strncmp
#define ft_strncpy strncpy
#define ft_strrchr strrchr
#define ft_strstr strstr
/**************************************************************************
*
* file handling
*
*/
#include <stdio.h>
#define FT_FILE FILE
#define ft_fclose fclose
#define ft_fopen fopen
#define ft_fread fread
#define ft_fseek fseek
#define ft_ftell ftell
#define ft_sprintf sprintf
/**************************************************************************
*
* sorting
*
*/
#include <stdlib.h>
#define ft_qsort qsort
/**************************************************************************
*
* memory allocation
*
*/
#define ft_scalloc calloc
#define ft_sfree free
#define ft_smalloc malloc
#define ft_srealloc realloc
/**************************************************************************
*
* miscellaneous
*
*/
#define ft_strtol strtol
#define ft_getenv getenv
/**************************************************************************
*
* execution control
*
*/
#include <setjmp.h>
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
/* `jmp_buf` is defined as a macro */
/* on certain platforms */
#define ft_longjmp longjmp
#define ft_setjmp( b ) setjmp( *(ft_jmp_buf*) &(b) ) /* same thing here */
/* The following is only used for debugging purposes, i.e., if */
/* `FT_DEBUG_LEVEL_ERROR` or `FT_DEBUG_LEVEL_TRACE` are defined. */
#include <stdarg.h>
#endif /* FTSTDLIB_H_ */
/* END */
/****************************************************************************
*
* config/integer-types.h
*
* FreeType integer types definitions.
*
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FREETYPE_CONFIG_INTEGER_TYPES_H_
#define FREETYPE_CONFIG_INTEGER_TYPES_H_
/* There are systems (like the Texas Instruments 'C54x) where a `char` */
/* has 16~bits. ANSI~C says that `sizeof(char)` is always~1. Since an */
/* `int` has 16~bits also for this system, `sizeof(int)` gives~1 which */
/* is probably unexpected. */
/* */
/* `CHAR_BIT` (defined in `limits.h`) gives the number of bits in a */
/* `char` type. */
#ifndef FT_CHAR_BIT
#define FT_CHAR_BIT CHAR_BIT
#endif
#ifndef FT_SIZEOF_INT
/* The size of an `int` type. */
#if FT_UINT_MAX == 0xFFFFUL
#define FT_SIZEOF_INT ( 16 / FT_CHAR_BIT )
#elif FT_UINT_MAX == 0xFFFFFFFFUL
#define FT_SIZEOF_INT ( 32 / FT_CHAR_BIT )
#elif FT_UINT_MAX > 0xFFFFFFFFUL && FT_UINT_MAX == 0xFFFFFFFFFFFFFFFFUL
#define FT_SIZEOF_INT ( 64 / FT_CHAR_BIT )
#else
#error "Unsupported size of `int' type!"
#endif
#endif /* !defined(FT_SIZEOF_INT) */
#ifndef FT_SIZEOF_LONG
/* The size of a `long` type. A five-byte `long` (as used e.g. on the */
/* DM642) is recognized but avoided. */
#if FT_ULONG_MAX == 0xFFFFFFFFUL
#define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT )
#elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFUL
#define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT )
#elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFFFFFFFUL
#define FT_SIZEOF_LONG ( 64 / FT_CHAR_BIT )
#else
#error "Unsupported size of `long' type!"
#endif
#endif /* !defined(FT_SIZEOF_LONG) */
/**************************************************************************
*
* @section:
* basic_types
*
*/
/**************************************************************************
*
* @type:
* FT_Int16
*
* @description:
* A typedef for a 16bit signed integer type.
*/
typedef signed short FT_Int16;
/**************************************************************************
*
* @type:
* FT_UInt16
*
* @description:
* A typedef for a 16bit unsigned integer type.
*/
typedef unsigned short FT_UInt16;
/* */
/* this #if 0 ... #endif clause is for documentation purposes */
#if 0
/**************************************************************************
*
* @type:
* FT_Int32
*
* @description:
* A typedef for a 32bit signed integer type. The size depends on the
* configuration.
*/
typedef signed XXX FT_Int32;
/**************************************************************************
*
* @type:
* FT_UInt32
*
* A typedef for a 32bit unsigned integer type. The size depends on the
* configuration.
*/
typedef unsigned XXX FT_UInt32;
/**************************************************************************
*
* @type:
* FT_Int64
*
* A typedef for a 64bit signed integer type. The size depends on the
* configuration. Only defined if there is real 64bit support;
* otherwise, it gets emulated with a structure (if necessary).
*/
typedef signed XXX FT_Int64;
/**************************************************************************
*
* @type:
* FT_UInt64
*
* A typedef for a 64bit unsigned integer type. The size depends on the
* configuration. Only defined if there is real 64bit support;
* otherwise, it gets emulated with a structure (if necessary).
*/
typedef unsigned XXX FT_UInt64;
/* */
#endif
#if FT_SIZEOF_INT == ( 32 / FT_CHAR_BIT )
typedef signed int FT_Int32;
typedef unsigned int FT_UInt32;
#elif FT_SIZEOF_LONG == ( 32 / FT_CHAR_BIT )
typedef signed long FT_Int32;
typedef unsigned long FT_UInt32;
#else
#error "no 32bit type found -- please check your configuration files"
#endif
/* look up an integer type that is at least 32~bits */
#if FT_SIZEOF_INT >= ( 32 / FT_CHAR_BIT )
typedef int FT_Fast;
typedef unsigned int FT_UFast;
#elif FT_SIZEOF_LONG >= ( 32 / FT_CHAR_BIT )
typedef long FT_Fast;
typedef unsigned long FT_UFast;
#endif
/* determine whether we have a 64-bit `int` type for platforms without */
/* Autoconf */
#if FT_SIZEOF_LONG == ( 64 / FT_CHAR_BIT )
/* `FT_LONG64` must be defined if a 64-bit type is available */
#define FT_LONG64
#define FT_INT64 long
#define FT_UINT64 unsigned long
/**************************************************************************
*
* A 64-bit data type may create compilation problems if you compile in
* strict ANSI mode. To avoid them, we disable other 64-bit data types if
* `__STDC__` is defined. You can however ignore this rule by defining the
* `FT_CONFIG_OPTION_FORCE_INT64` configuration macro.
*/
#elif !defined( __STDC__ ) || defined( FT_CONFIG_OPTION_FORCE_INT64 )
#if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L
#define FT_LONG64
#define FT_INT64 long long int
#define FT_UINT64 unsigned long long int
#elif defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */
/* this compiler provides the `__int64` type */
#define FT_LONG64
#define FT_INT64 __int64
#define FT_UINT64 unsigned __int64
#elif defined( __BORLANDC__ ) /* Borland C++ */
/* XXXX: We should probably check the value of `__BORLANDC__` in order */
/* to test the compiler version. */
/* this compiler provides the `__int64` type */
#define FT_LONG64
#define FT_INT64 __int64
#define FT_UINT64 unsigned __int64
#elif defined( __WATCOMC__ ) /* Watcom C++ */
/* Watcom doesn't provide 64-bit data types */
#elif defined( __MWERKS__ ) /* Metrowerks CodeWarrior */
#define FT_LONG64
#define FT_INT64 long long int
#define FT_UINT64 unsigned long long int
#elif defined( __GNUC__ )
/* GCC provides the `long long` type */
#define FT_LONG64
#define FT_INT64 long long int
#define FT_UINT64 unsigned long long int
#endif /* __STDC_VERSION__ >= 199901L */
#endif /* FT_SIZEOF_LONG == (64 / FT_CHAR_BIT) */
#ifdef FT_LONG64
typedef FT_INT64 FT_Int64;
typedef FT_UINT64 FT_UInt64;
#endif
#endif /* FREETYPE_CONFIG_INTEGER_TYPES_H_ */
/****************************************************************************
*
* config/mac-support.h
*
* Mac/OS X support configuration header.
*
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FREETYPE_CONFIG_MAC_SUPPORT_H_
#define FREETYPE_CONFIG_MAC_SUPPORT_H_
/**************************************************************************
*
* Mac support
*
* This is the only necessary change, so it is defined here instead
* providing a new configuration file.
*/
#if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) )
/* No Carbon frameworks for 64bit 10.4.x. */
/* `AvailabilityMacros.h` is available since Mac OS X 10.2, */
/* so guess the system version by maximum errno before inclusion. */
#include <errno.h>
#ifdef ECANCELED /* defined since 10.2 */
#include "AvailabilityMacros.h"
#endif
#if defined( __LP64__ ) && \
( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
#undef FT_MACINTOSH
#endif
#elif defined( __SC__ ) || defined( __MRC__ )
/* Classic MacOS compilers */
#include "ConditionalMacros.h"
#if TARGET_OS_MAC
#define FT_MACINTOSH 1
#endif
#endif /* Mac support */
#endif /* FREETYPE_CONFIG_MAC_SUPPORT_H_ */
/****************************************************************************
*
* config/public-macros.h
*
* Define a set of compiler macros used in public FreeType headers.
*
* Copyright (C) 2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
/*
* The definitions in this file are used by the public FreeType headers
* and thus should be considered part of the public API.
*
* Other compiler-specific macro definitions that are not exposed by the
* FreeType API should go into
* `include/freetype/internal/compiler-macros.h` instead.
*/
#ifndef FREETYPE_CONFIG_PUBLIC_MACROS_H_
#define FREETYPE_CONFIG_PUBLIC_MACROS_H_
/*
* `FT_BEGIN_HEADER` and `FT_END_HEADER` might have already been defined
* by `freetype/config/ftheader.h`, but we don't want to include this
* header here, so redefine the macros here only when needed. Their
* definition is very stable, so keeping them in sync with the ones in the
* header should not be a maintenance issue.
*/
#ifndef FT_BEGIN_HEADER
#ifdef __cplusplus
#define FT_BEGIN_HEADER extern "C" {
#else
#define FT_BEGIN_HEADER /* empty */
#endif
#endif /* FT_BEGIN_HEADER */
#ifndef FT_END_HEADER
#ifdef __cplusplus
#define FT_END_HEADER }
#else
#define FT_END_HEADER /* empty */
#endif
#endif /* FT_END_HEADER */
FT_BEGIN_HEADER
/*
* Mark a function declaration as public. This ensures it will be
* properly exported to client code. Place this before a function
* declaration.
*
* NOTE: This macro should be considered an internal implementation
* detail, and not part of the FreeType API. It is only defined here
* because it is needed by `FT_EXPORT`.
*/
/* Visual C, mingw */
#if defined( _WIN32 )
#if defined( FT2_BUILD_LIBRARY ) && defined( DLL_EXPORT )
#define FT_PUBLIC_FUNCTION_ATTRIBUTE __declspec( dllexport )
#elif defined( DLL_IMPORT )
#define FT_PUBLIC_FUNCTION_ATTRIBUTE __declspec( dllimport )
#endif
/* gcc, clang */
#elif ( defined( __GNUC__ ) && __GNUC__ >= 4 ) || defined( __clang__ )
#define FT_PUBLIC_FUNCTION_ATTRIBUTE \
__attribute__(( visibility( "default" ) ))
/* Sun */
#elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550
#define FT_PUBLIC_FUNCTION_ATTRIBUTE __global
#endif
#ifndef FT_PUBLIC_FUNCTION_ATTRIBUTE
#define FT_PUBLIC_FUNCTION_ATTRIBUTE /* empty */
#endif
/*
* Define a public FreeType API function. This ensures it is properly
* exported or imported at build time. The macro parameter is the
* function's return type as in:
*
* FT_EXPORT( FT_Bool )
* FT_Object_Method( FT_Object obj,
* ... );
*
* NOTE: This requires that all `FT_EXPORT` uses are inside
* `FT_BEGIN_HEADER ... FT_END_HEADER` blocks. This guarantees that the
* functions are exported with C linkage, even when the header is included
* by a C++ source file.
*/
#define FT_EXPORT( x ) FT_PUBLIC_FUNCTION_ATTRIBUTE extern x
/*
* `FT_UNUSED` indicates that a given parameter is not used -- this is
* only used to get rid of unpleasant compiler warnings.
*
* Technically, this was not meant to be part of the public API, but some
* third-party code depends on it.
*/
#ifndef FT_UNUSED
#define FT_UNUSED( arg ) ( (arg) = (arg) )
#endif
FT_END_HEADER
#endif /* FREETYPE_CONFIG_PUBLIC_MACROS_H_ */
/****************************************************************************
*
* ftadvanc.h
*
* Quick computation of advance widths (specification only).
*
* Copyright (C) 2008-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FTADVANC_H_
#define FTADVANC_H_
#include <freetype/freetype.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* quick_advance
*
* @title:
* Quick retrieval of advance values
*
* @abstract:
* Retrieve horizontal and vertical advance values without processing
* glyph outlines, if possible.
*
* @description:
* This section contains functions to quickly extract advance values
* without handling glyph outlines, if possible.
*
* @order:
* FT_Get_Advance
* FT_Get_Advances
*
*/
/**************************************************************************
*
* @enum:
* FT_ADVANCE_FLAG_FAST_ONLY
*
* @description:
* A bit-flag to be OR-ed with the `flags` parameter of the
* @FT_Get_Advance and @FT_Get_Advances functions.
*
* If set, it indicates that you want these functions to fail if the
* corresponding hinting mode or font driver doesn't allow for very quick
* advance computation.
*
* Typically, glyphs that are either unscaled, unhinted, bitmapped, or
* light-hinted can have their advance width computed very quickly.
*
* Normal and bytecode hinted modes that require loading, scaling, and
* hinting of the glyph outline, are extremely slow by comparison.
*/
#define FT_ADVANCE_FLAG_FAST_ONLY 0x20000000L
/**************************************************************************
*
* @function:
* FT_Get_Advance
*
* @description:
* Retrieve the advance value of a given glyph outline in an @FT_Face.
*
* @input:
* face ::
* The source @FT_Face handle.
*
* gindex ::
* The glyph index.
*
* load_flags ::
* A set of bit flags similar to those used when calling
* @FT_Load_Glyph, used to determine what kind of advances you need.
*
* @output:
* padvance ::
* The advance value. If scaling is performed (based on the value of
* `load_flags`), the advance value is in 16.16 format. Otherwise, it
* is in font units.
*
* If @FT_LOAD_VERTICAL_LAYOUT is set, this is the vertical advance
* corresponding to a vertical layout. Otherwise, it is the horizontal
* advance in a horizontal layout.
*
* @return:
* FreeType error code. 0 means success.
*
* @note:
* This function may fail if you use @FT_ADVANCE_FLAG_FAST_ONLY and if
* the corresponding font backend doesn't have a quick way to retrieve
* the advances.
*
* A scaled advance is returned in 16.16 format but isn't transformed by
* the affine transformation specified by @FT_Set_Transform.
*/
FT_EXPORT( FT_Error )
FT_Get_Advance( FT_Face face,
FT_UInt gindex,
FT_Int32 load_flags,
FT_Fixed *padvance );
/**************************************************************************
*
* @function:
* FT_Get_Advances
*
* @description:
* Retrieve the advance values of several glyph outlines in an @FT_Face.
*
* @input:
* face ::
* The source @FT_Face handle.
*
* start ::
* The first glyph index.
*
* count ::
* The number of advance values you want to retrieve.
*
* load_flags ::
* A set of bit flags similar to those used when calling
* @FT_Load_Glyph.
*
* @output:
* padvance ::
* The advance values. This array, to be provided by the caller, must
* contain at least `count` elements.
*
* If scaling is performed (based on the value of `load_flags`), the
* advance values are in 16.16 format. Otherwise, they are in font
* units.
*
* If @FT_LOAD_VERTICAL_LAYOUT is set, these are the vertical advances
* corresponding to a vertical layout. Otherwise, they are the
* horizontal advances in a horizontal layout.
*
* @return:
* FreeType error code. 0 means success.
*
* @note:
* This function may fail if you use @FT_ADVANCE_FLAG_FAST_ONLY and if
* the corresponding font backend doesn't have a quick way to retrieve
* the advances.
*
* Scaled advances are returned in 16.16 format but aren't transformed by
* the affine transformation specified by @FT_Set_Transform.
*/
FT_EXPORT( FT_Error )
FT_Get_Advances( FT_Face face,
FT_UInt start,
FT_UInt count,
FT_Int32 load_flags,
FT_Fixed *padvances );
/* */
FT_END_HEADER
#endif /* FTADVANC_H_ */
/* END */
/****************************************************************************
*
* ftbbox.h
*
* FreeType exact bbox computation (specification).
*
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
/**************************************************************************
*
* This component has a _single_ role: to compute exact outline bounding
* boxes.
*
* It is separated from the rest of the engine for various technical
* reasons. It may well be integrated in 'ftoutln' later.
*
*/
#ifndef FTBBOX_H_
#define FTBBOX_H_
#include <freetype/freetype.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* outline_processing
*
*/
/**************************************************************************
*
* @function:
* FT_Outline_Get_BBox
*
* @description:
* Compute the exact bounding box of an outline. This is slower than
* computing the control box. However, it uses an advanced algorithm
* that returns _very_ quickly when the two boxes coincide. Otherwise,
* the outline Bezier arcs are traversed to extract their extrema.
*
* @input:
* outline ::
* A pointer to the source outline.
*
* @output:
* abbox ::
* The outline's exact bounding box.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* If the font is tricky and the glyph has been loaded with
* @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get
* reasonable values for the BBox it is necessary to load the glyph at a
* large ppem value (so that the hinting instructions can properly shift
* and scale the subglyphs), then extracting the BBox, which can be
* eventually converted back to font units.
*/
FT_EXPORT( FT_Error )
FT_Outline_Get_BBox( FT_Outline* outline,
FT_BBox *abbox );
/* */
FT_END_HEADER
#endif /* FTBBOX_H_ */
/* END */
/* Local Variables: */
/* coding: utf-8 */
/* End: */
/****************************************************************************
*
* ftbdf.h
*
* FreeType API for accessing BDF-specific strings (specification).
*
* Copyright (C) 2002-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FTBDF_H_
#define FTBDF_H_
#include <freetype/freetype.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* bdf_fonts
*
* @title:
* BDF and PCF Files
*
* @abstract:
* BDF and PCF specific API.
*
* @description:
* This section contains the declaration of functions specific to BDF and
* PCF fonts.
*
*/
/**************************************************************************
*
* @enum:
* BDF_PropertyType
*
* @description:
* A list of BDF property types.
*
* @values:
* BDF_PROPERTY_TYPE_NONE ::
* Value~0 is used to indicate a missing property.
*
* BDF_PROPERTY_TYPE_ATOM ::
* Property is a string atom.
*
* BDF_PROPERTY_TYPE_INTEGER ::
* Property is a 32-bit signed integer.
*
* BDF_PROPERTY_TYPE_CARDINAL ::
* Property is a 32-bit unsigned integer.
*/
typedef enum BDF_PropertyType_
{
BDF_PROPERTY_TYPE_NONE = 0,
BDF_PROPERTY_TYPE_ATOM = 1,
BDF_PROPERTY_TYPE_INTEGER = 2,
BDF_PROPERTY_TYPE_CARDINAL = 3
} BDF_PropertyType;
/**************************************************************************
*
* @type:
* BDF_Property
*
* @description:
* A handle to a @BDF_PropertyRec structure to model a given BDF/PCF
* property.
*/
typedef struct BDF_PropertyRec_* BDF_Property;
/**************************************************************************
*
* @struct:
* BDF_PropertyRec
*
* @description:
* This structure models a given BDF/PCF property.
*
* @fields:
* type ::
* The property type.
*
* u.atom ::
* The atom string, if type is @BDF_PROPERTY_TYPE_ATOM. May be
* `NULL`, indicating an empty string.
*
* u.integer ::
* A signed integer, if type is @BDF_PROPERTY_TYPE_INTEGER.
*
* u.cardinal ::
* An unsigned integer, if type is @BDF_PROPERTY_TYPE_CARDINAL.
*/
typedef struct BDF_PropertyRec_
{
BDF_PropertyType type;
union {
const char* atom;
FT_Int32 integer;
FT_UInt32 cardinal;
} u;
} BDF_PropertyRec;
/**************************************************************************
*
* @function:
* FT_Get_BDF_Charset_ID
*
* @description:
* Retrieve a BDF font character set identity, according to the BDF
* specification.
*
* @input:
* face ::
* A handle to the input face.
*
* @output:
* acharset_encoding ::
* Charset encoding, as a C~string, owned by the face.
*
* acharset_registry ::
* Charset registry, as a C~string, owned by the face.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function only works with BDF faces, returning an error otherwise.
*/
FT_EXPORT( FT_Error )
FT_Get_BDF_Charset_ID( FT_Face face,
const char* *acharset_encoding,
const char* *acharset_registry );
/**************************************************************************
*
* @function:
* FT_Get_BDF_Property
*
* @description:
* Retrieve a BDF property from a BDF or PCF font file.
*
* @input:
* face ::
* A handle to the input face.
*
* name ::
* The property name.
*
* @output:
* aproperty ::
* The property.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function works with BDF _and_ PCF fonts. It returns an error
* otherwise. It also returns an error if the property is not in the
* font.
*
* A 'property' is a either key-value pair within the STARTPROPERTIES
* ... ENDPROPERTIES block of a BDF font or a key-value pair from the
* `info->props` array within a `FontRec` structure of a PCF font.
*
* Integer properties are always stored as 'signed' within PCF fonts;
* consequently, @BDF_PROPERTY_TYPE_CARDINAL is a possible return value
* for BDF fonts only.
*
* In case of error, `aproperty->type` is always set to
* @BDF_PROPERTY_TYPE_NONE.
*/
FT_EXPORT( FT_Error )
FT_Get_BDF_Property( FT_Face face,
const char* prop_name,
BDF_PropertyRec *aproperty );
/* */
FT_END_HEADER
#endif /* FTBDF_H_ */
/* END */
/****************************************************************************
*
* ftbitmap.h
*
* FreeType utility functions for bitmaps (specification).
*
* Copyright (C) 2004-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FTBITMAP_H_
#define FTBITMAP_H_
#include <freetype/freetype.h>
#include <freetype/ftcolor.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* bitmap_handling
*
* @title:
* Bitmap Handling
*
* @abstract:
* Handling FT_Bitmap objects.
*
* @description:
* This section contains functions for handling @FT_Bitmap objects,
* automatically adjusting the target's bitmap buffer size as needed.
*
* Note that none of the functions changes the bitmap's 'flow' (as
* indicated by the sign of the `pitch` field in @FT_Bitmap).
*
* To set the flow, assign an appropriate positive or negative value to
* the `pitch` field of the target @FT_Bitmap object after calling
* @FT_Bitmap_Init but before calling any of the other functions
* described here.
*/
/**************************************************************************
*
* @function:
* FT_Bitmap_Init
*
* @description:
* Initialize a pointer to an @FT_Bitmap structure.
*
* @inout:
* abitmap ::
* A pointer to the bitmap structure.
*
* @note:
* A deprecated name for the same function is `FT_Bitmap_New`.
*/
FT_EXPORT( void )
FT_Bitmap_Init( FT_Bitmap *abitmap );
/* deprecated */
FT_EXPORT( void )
FT_Bitmap_New( FT_Bitmap *abitmap );
/**************************************************************************
*
* @function:
* FT_Bitmap_Copy
*
* @description:
* Copy a bitmap into another one.
*
* @input:
* library ::
* A handle to a library object.
*
* source ::
* A handle to the source bitmap.
*
* @output:
* target ::
* A handle to the target bitmap.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* `source->buffer` and `target->buffer` must neither be equal nor
* overlap.
*/
FT_EXPORT( FT_Error )
FT_Bitmap_Copy( FT_Library library,
const FT_Bitmap *source,
FT_Bitmap *target );
/**************************************************************************
*
* @function:
* FT_Bitmap_Embolden
*
* @description:
* Embolden a bitmap. The new bitmap will be about `xStrength` pixels
* wider and `yStrength` pixels higher. The left and bottom borders are
* kept unchanged.
*
* @input:
* library ::
* A handle to a library object.
*
* xStrength ::
* How strong the glyph is emboldened horizontally. Expressed in 26.6
* pixel format.
*
* yStrength ::
* How strong the glyph is emboldened vertically. Expressed in 26.6
* pixel format.
*
* @inout:
* bitmap ::
* A handle to the target bitmap.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* The current implementation restricts `xStrength` to be less than or
* equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO.
*
* If you want to embolden the bitmap owned by a @FT_GlyphSlotRec, you
* should call @FT_GlyphSlot_Own_Bitmap on the slot first.
*
* Bitmaps in @FT_PIXEL_MODE_GRAY2 and @FT_PIXEL_MODE_GRAY@ format are
* converted to @FT_PIXEL_MODE_GRAY format (i.e., 8bpp).
*/
FT_EXPORT( FT_Error )
FT_Bitmap_Embolden( FT_Library library,
FT_Bitmap* bitmap,
FT_Pos xStrength,
FT_Pos yStrength );
/**************************************************************************
*
* @function:
* FT_Bitmap_Convert
*
* @description:
* Convert a bitmap object with depth 1bpp, 2bpp, 4bpp, 8bpp or 32bpp to
* a bitmap object with depth 8bpp, making the number of used bytes per
* line (a.k.a. the 'pitch') a multiple of `alignment`.
*
* @input:
* library ::
* A handle to a library object.
*
* source ::
* The source bitmap.
*
* alignment ::
* The pitch of the bitmap is a multiple of this argument. Common
* values are 1, 2, or 4.
*
* @output:
* target ::
* The target bitmap.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* It is possible to call @FT_Bitmap_Convert multiple times without
* calling @FT_Bitmap_Done (the memory is simply reallocated).
*
* Use @FT_Bitmap_Done to finally remove the bitmap object.
*
* The `library` argument is taken to have access to FreeType's memory
* handling functions.
*
* `source->buffer` and `target->buffer` must neither be equal nor
* overlap.
*/
FT_EXPORT( FT_Error )
FT_Bitmap_Convert( FT_Library library,
const FT_Bitmap *source,
FT_Bitmap *target,
FT_Int alignment );
/**************************************************************************
*
* @function:
* FT_Bitmap_Blend
*
* @description:
* Blend a bitmap onto another bitmap, using a given color.
*
* @input:
* library ::
* A handle to a library object.
*
* source ::
* The source bitmap, which can have any @FT_Pixel_Mode format.
*
* source_offset ::
* The offset vector to the upper left corner of the source bitmap in
* 26.6 pixel format. It should represent an integer offset; the
* function will set the lowest six bits to zero to enforce that.
*
* color ::
* The color used to draw `source` onto `target`.
*
* @inout:
* target ::
* A handle to an `FT_Bitmap` object. It should be either initialized
* as empty with a call to @FT_Bitmap_Init, or it should be of type
* @FT_PIXEL_MODE_BGRA.
*
* atarget_offset ::
* The offset vector to the upper left corner of the target bitmap in
* 26.6 pixel format. It should represent an integer offset; the
* function will set the lowest six bits to zero to enforce that.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function doesn't perform clipping.
*
* The bitmap in `target` gets allocated or reallocated as needed; the
* vector `atarget_offset` is updated accordingly.
*
* In case of allocation or reallocation, the bitmap's pitch is set to
* `4 * width`. Both `source` and `target` must have the same bitmap
* flow (as indicated by the sign of the `pitch` field).
*
* `source->buffer` and `target->buffer` must neither be equal nor
* overlap.
*
* @since:
* 2.10
*/
FT_EXPORT( FT_Error )
FT_Bitmap_Blend( FT_Library library,
const FT_Bitmap* source,
const FT_Vector source_offset,
FT_Bitmap* target,
FT_Vector *atarget_offset,
FT_Color color );
/**************************************************************************
*
* @function:
* FT_GlyphSlot_Own_Bitmap
*
* @description:
* Make sure that a glyph slot owns `slot->bitmap`.
*
* @input:
* slot ::
* The glyph slot.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function is to be used in combination with @FT_Bitmap_Embolden.
*/
FT_EXPORT( FT_Error )
FT_GlyphSlot_Own_Bitmap( FT_GlyphSlot slot );
/**************************************************************************
*
* @function:
* FT_Bitmap_Done
*
* @description:
* Destroy a bitmap object initialized with @FT_Bitmap_Init.
*
* @input:
* library ::
* A handle to a library object.
*
* bitmap ::
* The bitmap object to be freed.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* The `library` argument is taken to have access to FreeType's memory
* handling functions.
*/
FT_EXPORT( FT_Error )
FT_Bitmap_Done( FT_Library library,
FT_Bitmap *bitmap );
/* */
FT_END_HEADER
#endif /* FTBITMAP_H_ */
/* END */
/****************************************************************************
*
* ftbzip2.h
*
* Bzip2-compressed stream support.
*
* Copyright (C) 2010-2020 by
* Joel Klinghed.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FTBZIP2_H_
#define FTBZIP2_H_
#include <freetype/freetype.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* bzip2
*
* @title:
* BZIP2 Streams
*
* @abstract:
* Using bzip2-compressed font files.
*
* @description:
* In certain builds of the library, bzip2 compression recognition is
* automatically handled when calling @FT_New_Face or @FT_Open_Face.
* This means that if no font driver is capable of handling the raw
* compressed file, the library will try to open a bzip2 compressed
* stream from it and re-open the face with it.
*
* The stream implementation is very basic and resets the decompression
* process each time seeking backwards is needed within the stream,
* which significantly undermines the performance.
*
* This section contains the declaration of Bzip2-specific functions.
*
*/
/**************************************************************************
*
* @function:
* FT_Stream_OpenBzip2
*
* @description:
* Open a new stream to parse bzip2-compressed font files. This is
* mainly used to support the compressed `*.pcf.bz2` fonts that come with
* XFree86.
*
* @input:
* stream ::
* The target embedding stream.
*
* source ::
* The source stream.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* The source stream must be opened _before_ calling this function.
*
* Calling the internal function `FT_Stream_Close` on the new stream will
* **not** call `FT_Stream_Close` on the source stream. None of the
* stream objects will be released to the heap.
*
* This function may return `FT_Err_Unimplemented_Feature` if your build
* of FreeType was not compiled with bzip2 support.
*/
FT_EXPORT( FT_Error )
FT_Stream_OpenBzip2( FT_Stream stream,
FT_Stream source );
/* */
FT_END_HEADER
#endif /* FTBZIP2_H_ */
/* END */
/****************************************************************************
*
* This file defines the structure of the FreeType reference.
* It is used by the python script that generates the HTML files.
*
*/
/**************************************************************************
*
* @chapter:
* general_remarks
*
* @title:
* General Remarks
*
* @sections:
* header_inclusion
* user_allocation
*
*/
/**************************************************************************
*
* @chapter:
* core_api
*
* @title:
* Core API
*
* @sections:
* version
* basic_types
* base_interface
* glyph_variants
* color_management
* layer_management
* glyph_management
* mac_specific
* sizes_management
* header_file_macros
*
*/
/**************************************************************************
*
* @chapter:
* format_specific
*
* @title:
* Format-Specific API
*
* @sections:
* multiple_masters
* truetype_tables
* type1_tables
* sfnt_names
* bdf_fonts
* cid_fonts
* pfr_fonts
* winfnt_fonts
* font_formats
* gasp_table
*
*/
/**************************************************************************
*
* @chapter:
* module_specific
*
* @title:
* Controlling FreeType Modules
*
* @sections:
* auto_hinter
* cff_driver
* t1_cid_driver
* tt_driver
* pcf_driver
* properties
* parameter_tags
* lcd_rendering
*
*/
/**************************************************************************
*
* @chapter:
* cache_subsystem
*
* @title:
* Cache Sub-System
*
* @sections:
* cache_subsystem
*
*/
/**************************************************************************
*
* @chapter:
* support_api
*
* @title:
* Support API
*
* @sections:
* computations
* list_processing
* outline_processing
* quick_advance
* bitmap_handling
* raster
* glyph_stroker
* system_interface
* module_management
* gzip
* lzw
* bzip2
*
*/
/**************************************************************************
*
* @chapter:
* error_codes
*
* @title:
* Error Codes
*
* @sections:
* error_enumerations
* error_code_values
*
*/
/* END */
/****************************************************************************
*
* ftcid.h
*
* FreeType API for accessing CID font information (specification).
*
* Copyright (C) 2007-2020 by
* Dereg Clegg and Michael Toftdal.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef FTCID_H_
#define FTCID_H_
#include <freetype/freetype.h>
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/**************************************************************************
*
* @section:
* cid_fonts
*
* @title:
* CID Fonts
*
* @abstract:
* CID-keyed font-specific API.
*
* @description:
* This section contains the declaration of CID-keyed font-specific
* functions.
*
*/
/**************************************************************************
*
* @function:
* FT_Get_CID_Registry_Ordering_Supplement
*
* @description:
* Retrieve the Registry/Ordering/Supplement triple (also known as the
* "R/O/S") from a CID-keyed font.
*
* @input:
* face ::
* A handle to the input face.
*
* @output:
* registry ::
* The registry, as a C~string, owned by the face.
*
* ordering ::
* The ordering, as a C~string, owned by the face.
*
* supplement ::
* The supplement.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function only works with CID faces, returning an error
* otherwise.
*
* @since:
* 2.3.6
*/
FT_EXPORT( FT_Error )
FT_Get_CID_Registry_Ordering_Supplement( FT_Face face,
const char* *registry,
const char* *ordering,
FT_Int *supplement );
/**************************************************************************
*
* @function:
* FT_Get_CID_Is_Internally_CID_Keyed
*
* @description:
* Retrieve the type of the input face, CID keyed or not. In contrast
* to the @FT_IS_CID_KEYED macro this function returns successfully also
* for CID-keyed fonts in an SFNT wrapper.
*
* @input:
* face ::
* A handle to the input face.
*
* @output:
* is_cid ::
* The type of the face as an @FT_Bool.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function only works with CID faces and OpenType fonts, returning
* an error otherwise.
*
* @since:
* 2.3.9
*/
FT_EXPORT( FT_Error )
FT_Get_CID_Is_Internally_CID_Keyed( FT_Face face,
FT_Bool *is_cid );
/**************************************************************************
*
* @function:
* FT_Get_CID_From_Glyph_Index
*
* @description:
* Retrieve the CID of the input glyph index.
*
* @input:
* face ::
* A handle to the input face.
*
* glyph_index ::
* The input glyph index.
*
* @output:
* cid ::
* The CID as an @FT_UInt.
*
* @return:
* FreeType error code. 0~means success.
*
* @note:
* This function only works with CID faces and OpenType fonts, returning
* an error otherwise.
*
* @since:
* 2.3.9
*/
FT_EXPORT( FT_Error )
FT_Get_CID_From_Glyph_Index( FT_Face face,
FT_UInt glyph_index,
FT_UInt *cid );
/* */
FT_END_HEADER
#endif /* FTCID_H_ */
/* END */
This diff is collapsed.
This diff is collapsed.
prefix=/data/home/luoliangyi/hgproject/third_party/freetype/uos/amd64/freetype-2.10.4/release
exec_prefix=/data/home/luoliangyi/hgproject/third_party/freetype/uos/amd64/freetype-2.10.4/release
libdir=/data/home/luoliangyi/hgproject/third_party/freetype/uos/amd64/freetype-2.10.4/release/lib
includedir=/data/home/luoliangyi/hgproject/third_party/freetype/uos/amd64/freetype-2.10.4/release/include
Name: FreeType 2
URL: https://freetype.org
Description: A free, high-quality, and portable font engine.
Version: 23.4.17
Requires:
Requires.private: zlib
Libs: -L${libdir} -lfreetype
Libs.private: -lbz2
Cflags: -I${includedir}/freetype2
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*
* jversion.h
*
* Copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains software version identification.
*/
#define JVERSION "9d 12-Jan-2020"
#define JCOPYRIGHT "Copyright (C) 2020, Thomas G. Lane, Guido Vollbeding"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment