Erster Commit: nativer Linux-Port aus macOS-Bytecode
Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/ scipy/PortAudio) kommen nativ aus Debian stretch. Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per .gitignore ausgeschlossen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"Test images flow mode (cell-like, trigger page breaks)"
|
||||
|
||||
#PyFPDF-cover-test:format=PDF
|
||||
#PyFPDF-cover-test:fn=issue_14.pdf
|
||||
#PyFPDF-cover-test:hash=7e4a5b0a77c4eaefa475bb7db655fcd9
|
||||
#PyFPDF-cover-test:res=../tutorial/logo_pb.png
|
||||
|
||||
import common
|
||||
from fpdf import FPDF
|
||||
|
||||
import os
|
||||
|
||||
def dotest(outputname, nostamp):
|
||||
pdf = FPDF()
|
||||
if nostamp:
|
||||
pdf._putinfo = lambda: common.test_putinfo(pdf)
|
||||
|
||||
pdf.add_page()
|
||||
|
||||
for i in range(1,41):
|
||||
# for flow mode, do not pass x or y:
|
||||
pdf.image(os.path.join(common.basepath, '../tutorial/logo_pb.png'))
|
||||
|
||||
pdf.output(outputname, 'F')
|
||||
|
||||
if __name__ == "__main__":
|
||||
common.testmain(__file__, dotest)
|
||||
|
||||
Reference in New Issue
Block a user