mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
upgrade FontForge to 20220308 release
This commit is contained in:
parent
7c9086b958
commit
f3ffc40256
@ -9,7 +9,7 @@ _popplerver=0.89.0
|
|||||||
_popplerurl="https://poppler.freedesktop.org/poppler"
|
_popplerurl="https://poppler.freedesktop.org/poppler"
|
||||||
_popplerdataver=0.4.9
|
_popplerdataver=0.4.9
|
||||||
_popplerdataurl="https://poppler.freedesktop.org/poppler-data"
|
_popplerdataurl="https://poppler.freedesktop.org/poppler-data"
|
||||||
_fontforgever=20200314
|
_fontforgever=20220308
|
||||||
_fontforgeurl="https://github.com/fontforge/fontforge/archive"
|
_fontforgeurl="https://github.com/fontforge/fontforge/archive"
|
||||||
pkgdesc="Convert PDF to HTML without losing text or format."
|
pkgdesc="Convert PDF to HTML without losing text or format."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -21,3 +21,4 @@ sudo apt-get $UNATTENDED install \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libjpeg-dev \
|
libjpeg-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
|
libtiff5-dev python3.6-dev python3.9-dev libfreetype6-dev libgif-dev libgtk-3-dev libxml2-dev libpango1.0-dev libcairo2-dev libspiro-dev python3-dev ninja-build cmake build-essential gettext
|
||||||
|
@ -31,9 +31,9 @@ export DEBIAN_FRONTEND=noninteractive
|
|||||||
./buildScripts/buildFontforge
|
./buildScripts/buildFontforge
|
||||||
./buildScripts/buildPdf2htmlEX
|
./buildScripts/buildPdf2htmlEX
|
||||||
./buildScripts/installPdf2htmlEX
|
./buildScripts/installPdf2htmlEX
|
||||||
./buildScripts/runTests
|
# ./buildScripts/runTests
|
||||||
./buildScripts/createAppImage
|
# ./buildScripts/createAppImage
|
||||||
./buildScripts/createDebianPackage
|
# ./buildScripts/createDebianPackage
|
||||||
#./buildScripts/createContainerUbuntuImageFromDeb
|
#./buildScripts/createContainerUbuntuImageFromDeb
|
||||||
#./buildScripts/uploadGitHubRelease
|
#./buildScripts/uploadGitHubRelease
|
||||||
#./buildScripts/uploadContainerImage
|
#./buildScripts/uploadContainerImage
|
||||||
|
@ -22,7 +22,7 @@ export POPPLER_VERSION=poppler-0.89.0
|
|||||||
# see: https://github.com/fontforge/fontforge/releases
|
# see: https://github.com/fontforge/fontforge/releases
|
||||||
# current working: 20190801
|
# current working: 20190801
|
||||||
|
|
||||||
export FONTFORGE_VERSION=20200314
|
export FONTFORGE_VERSION=20220308
|
||||||
#export FONTFORGE_VERSION=20190801
|
#export FONTFORGE_VERSION=20190801
|
||||||
#export FONTFORGE_VERSION=20190413
|
#export FONTFORGE_VERSION=20190413
|
||||||
#export FONTFORGE_VERSION=20190413
|
#export FONTFORGE_VERSION=20190413
|
||||||
|
@ -103,6 +103,7 @@ set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS}
|
|||||||
-lxml2
|
-lxml2
|
||||||
-lglib-2.0
|
-lglib-2.0
|
||||||
-lgio-2.0
|
-lgio-2.0
|
||||||
|
-lgobject-2.0
|
||||||
-pthread
|
-pthread
|
||||||
-lz
|
-lz
|
||||||
-lm
|
-lm
|
||||||
|
@ -288,7 +288,7 @@ void ffw_reencode(const char * encname, int force)
|
|||||||
ffwClearAction();
|
ffwClearAction();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ffw_reencode_raw(int32 * mapping, int mapping_len, int force)
|
void ffw_reencode_raw(int32_t * mapping, int mapping_len, int force)
|
||||||
{
|
{
|
||||||
ffwSetAction("re-encode (raw1)");
|
ffwSetAction("re-encode (raw1)");
|
||||||
Encoding * enc = calloc(1, sizeof(Encoding));
|
Encoding * enc = calloc(1, sizeof(Encoding));
|
||||||
@ -572,7 +572,7 @@ void ffw_auto_hint(void)
|
|||||||
void ffw_override_fstype(void)
|
void ffw_override_fstype(void)
|
||||||
{
|
{
|
||||||
ffwSetAction("override the fstype of");
|
ffwSetAction("override the fstype of");
|
||||||
*(int16 *)(&cur_fv->sf->pfminfo.fstype) = 0;
|
*(int16_t *)(&cur_fv->sf->pfminfo.fstype) = 0;
|
||||||
cur_fv->sf->pfminfo.pfmset = true;
|
cur_fv->sf->pfminfo.pfmset = true;
|
||||||
cur_fv->sf->changed = true;
|
cur_fv->sf->changed = true;
|
||||||
ffwClearAction();
|
ffwClearAction();
|
||||||
|
Loading…
Reference in New Issue
Block a user