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,36 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"Test issue 41 (escape CR char)"
|
||||
|
||||
#PyFPDF-cover-test:format=TXT
|
||||
#PyFPDF-cover-test:fn=issue_41.txt
|
||||
#PyFPDF-cover-test:hash=c576afec3362a7cc3b4b07a12feeefd3
|
||||
|
||||
import common # common set of utilities
|
||||
import fpdf
|
||||
|
||||
import sys
|
||||
|
||||
def dotest(outputname, nostamp):
|
||||
txt = "This is test string for issue41 with special symbols \n" +\
|
||||
"ln - \n\n" +\
|
||||
"cr - \r\n" +\
|
||||
"\\ ( ) abcdef..xyz 01234\n" +\
|
||||
"| [ ] ABCDEF..XYZ 56789\n"
|
||||
|
||||
pdf = fpdf.FPDF()
|
||||
f = open(outputname, "wb")
|
||||
f.write(pdf._escape(txt).encode("latin1"))
|
||||
f.close()
|
||||
|
||||
def main():
|
||||
si = common.read_cover_info(__file__)
|
||||
da = common.parse_test_args(sys.argv, si["fn"])
|
||||
if not common.check_env(si, da):
|
||||
return
|
||||
dotest(da["fn"], da["autotest"] or da["check"])
|
||||
common.check_result(si, da)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user