Add Roboto font family and update PDF generation to use custom fonts

- Added Roboto font files to the Docker image and specified their location.
- Updated the PDF generation code to use the Roboto font instead of Arial.
- Enhanced the PDF output by including additional font styles (Bold, Italic, etc.) for better formatting.
- Created a new directory for fonts in the Docker container to manage font files effectively.
This commit is contained in:
2026-03-23 11:53:22 +01:00
parent 328fe9f985
commit 4c360655c1
56 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -14,5 +14,6 @@ COPY . /app/
RUN chmod +x /app/entrypoint.sh
EXPOSE 8000
RUN mkdir -pv /fonts
COPY tienda/static/fonts/ /fonts/
CMD ["/app/entrypoint.sh"]