Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to TEX (pgf graphics) #99

Open
Claudio-Scarena opened this issue Apr 21, 2021 · 0 comments
Open

Export to TEX (pgf graphics) #99

Claudio-Scarena opened this issue Apr 21, 2021 · 0 comments

Comments

@Claudio-Scarena
Copy link

When creating a QR-Tag in TEX-Format without a border, the resulting image has nonetheless a border left and border right of the QR-Code. Though these borders are transparent, they disturb the proper placement within a tikzpicture-environment (e. g. anchor=north west).
The root cause of this issue is the command '\pgfpathlineto', which indeed draws a black line from X0/Y on the left to X1/Y on the right. But, and this is the problem, '\pgfpathlineto' also adds a transparent cap to the left of the beginning and a transparent cap to the right of the end of the line. The caps have a width of half the path line width. The resulting image dimensions have the width too large for one module. I propose to draw filled rectangles instead of paths.

with best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant