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

There is no way to have oversized images #171

Open
meator opened this issue Jan 4, 2025 · 1 comment
Open

There is no way to have oversized images #171

meator opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@meator
Copy link

meator commented Jan 4, 2025

Doxygen Awesome provides no way (to my knowledge) to include images wider than textwidth in their original size.

This is most annoying with Dot graphs:

image

Every Dot graph has a scrollbar beneath it. This is annoying when the graph clearly fits, but it's even worse when it doesn't. It is purely decorative.

I am aware of https://jothepro.github.io/doxygen-awesome-css/md_docs_2tricks.html, but this requires DOT_IMAGE_FORMAT = svg. Graphviz has terrible support for SVGs (anything more than plaintext nodes can lead to broken spacing). The fix is to use svg:cairo, but that is not supported by Doxygen, so only PNGs/JPEGs renders dot graphs properly.

Images have the same problem.

@meator
Copy link
Author

meator commented Jan 4, 2025

Another issue is that while the image is scaled down, the URLs aren't. If the dot graph contains clickable links, they will likely be misaligned with the image (and quite severely if the original has to be scaled down a lot).

@jothepro jothepro added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants