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,34 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"Basic test to check issue 71: test Code39"
|
||||
|
||||
#PyFPDF-cover-test:format=PDF
|
||||
#PyFPDF-cover-test:fn=issue_71.pdf
|
||||
#PyFPDF-cover-test:hash=1575947cac5b0a8cdceedf9b525ee6db
|
||||
# get res from http://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Code_3_of_9.svg/262px-Code_3_of_9.svg.png
|
||||
# PyFPDF-cover-test:res=.png
|
||||
|
||||
import common
|
||||
from fpdf import FPDF
|
||||
|
||||
import os
|
||||
|
||||
def dotest(outputname, nostamp):
|
||||
# Portrait, millimeter units, A4 page size
|
||||
pdf = FPDF("P", "mm", "A4")
|
||||
if nostamp:
|
||||
pdf._putinfo = lambda: common.test_putinfo(pdf)
|
||||
# Set font: Times, normal, size 10
|
||||
pdf.add_page()
|
||||
if not nostamp:
|
||||
# do not show picture in batch
|
||||
url = "http://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Code_3_of_9.svg/262px-Code_3_of_9.svg.png"
|
||||
pdf.image(url, 10, 10)
|
||||
|
||||
pdf.code39("*wikipedia*", 12.75, 7, 1.49)
|
||||
|
||||
pdf.output(outputname, 'F')
|
||||
|
||||
if __name__ == "__main__":
|
||||
common.testmain(__file__, dotest)
|
||||
|
||||
Reference in New Issue
Block a user