mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
general compilation and optimization glyphs
This commit is contained in:
@ -698,6 +698,9 @@ void CDjVuFileImplementation::CreateFrame(IRenderer* pRenderer, GP
|
||||
{
|
||||
TextToRenderer(pRenderer, text, dPixToMM / nDpi);
|
||||
}
|
||||
#ifdef WASM_MODE
|
||||
TextToRenderer(pRenderer, text, dPixToMM / nDpi);
|
||||
#endif
|
||||
|
||||
pRenderer->DrawImage((IGrObject*)&oImage, 0, 0, dRendWidth, dRendHeight);
|
||||
pRenderer->EndCommand(c_nPageType);
|
||||
|
||||
@ -94,12 +94,14 @@ base.copy_file("./all_files_test/index.html", "./deploy/index.html")
|
||||
base.copy_file("./all_files_test/code.js", "./deploy/code.js")
|
||||
base.copy_file("./all_files_test/file.js", "./deploy/file.js")
|
||||
base.copy_dir("./all_files_test/pdf", "./deploy/pdf")
|
||||
if not base.is_dir("./../../DesktopEditor/graphics/pro/js/deploy"):
|
||||
base.cmd_in_dir("./../../DesktopEditor/graphics/pro/js", "python", ["xps_make.py"])
|
||||
if base.is_dir("./../../DesktopEditor/graphics/pro/js/deploy"):
|
||||
base.create_dir("./deploy/xps")
|
||||
base.copy_file("./../../DesktopEditor/graphics/pro/js/deploy/xps.js", "./deploy/xps/xps.js")
|
||||
base.copy_file("./../../DesktopEditor/graphics/pro/js/deploy/xps.wasm", "./deploy/xps/xps.wasm")
|
||||
else:
|
||||
print("xps_make.py not used. core/DesktopEditor/graphics/pro/js/xps_make.py")
|
||||
print("xps_make.py error")
|
||||
base.copy_dir("./all_files_test/xps", "./deploy/xps")
|
||||
|
||||
base.delete_file("djvu.js")
|
||||
|
||||
Reference in New Issue
Block a user