mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
always use ttf fonts
This commit is contained in:
parent
215b377b88
commit
bf5ab11639
2
bin/convert.pe
Normal file
2
bin/convert.pe
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Open($1);
|
||||||
|
Generate($1:r+".ttf");
|
@ -7,6 +7,6 @@ SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"/
|
|||||||
${SCRIPT_DIR}/pdftohtmlEX $*
|
${SCRIPT_DIR}/pdftohtmlEX $*
|
||||||
|
|
||||||
for f in *.pfa; do
|
for f in *.pfa; do
|
||||||
fontforge -script "${SCRIPT_DIR}/pfa2otf.pe" $f
|
fontforge -script "${SCRIPT_DIR}/convert.pe" $f 2>/dev/null
|
||||||
rm $f
|
rm $f
|
||||||
done
|
done
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
Open($1);
|
|
||||||
Generate($1:r+".woff");
|
|
@ -714,7 +714,7 @@ void HTMLRenderer::install_embedded_type1_font (Ref * id, long long fn_id)
|
|||||||
tmpf.write(CTM, strlen(CTM));
|
tmpf.write(CTM, strlen(CTM));
|
||||||
}
|
}
|
||||||
|
|
||||||
export_remote_font(fn_id, "woff");
|
export_remote_font(fn_id, "ttf");
|
||||||
|
|
||||||
err:
|
err:
|
||||||
str_obj.streamClose();
|
str_obj.streamClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user