-
Notifications
You must be signed in to change notification settings - Fork 152
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
Fix issue with degrees display in flowcharts #223
Conversation
I like to think it would be better to fix either the macro or the font, preferably the font. Interesting that typing it direct does not trigger a font character substitution. I noted the flowcharts are not searchable / text on the website. Is that intended ? 180C (xxxF) is probably acceptable on the web page, most people will understand. |
Not intended. If you check the source code on the web you can see that a
weird svg is created 😂
…On Fri 8. Sep 2023 at 15:01, cedounet ***@***.***> wrote:
I like to think it would be better to fix either the macro or the font,
preferably the font. Interesting that typing it direct does not trigger a
font character substitution.
I noted the flowcharts are not searchable / text on the website. Is that
intended ?
180C (xxxF) is probably acceptable on the web page, most people will
understand.
—
Reply to this email directly, view it on GitHub
<#223 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGHNW6HYPH5ONEZGQD7YWLXZMJLHANCNFSM6AAAAAA4QKDWWI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sample code from the SVG. You can see that the text is no longer visible, it seems to be fully generated:
|
Lovely the svg :) Your fix does not work on my machine... Does it work on the CI ? Which is what really matter at the end of the day... Thanks |
@cedounet you are right... Ok this is weird 😎 |
@cedounet what if we were to somehow tell tikz to create pngs instead of SVGs? Maybe it could help somehow? |
how does tex4ht generates png? it must have a driver of some sort. #183 has a theory that the dvipgf driver enforces non-utf8 for svg.. there is a branch https://github.com/hendricius/the-sourdough-framework/tree/225-ebook-situation where you can try. C/ |
@cedounet do you think I should ask michal on this one? Thanks! |
He gave the response already, with his fixed driver. But as I can’t test right now I put it on the back burner. |
Sorry. Just so that I get it correctly. The one in the repo of michal is different than the one that we use? |
we have That i think prevents any UTF8 in TikZ processed by htlatex. If true, there must be a reason this is not upstream, but I do not really know. I might also be really wrong... what i know for sure is that we don't deal with non latin right now in TikZ/htlatex. |
Any chance we could maybe do a quick debugging on this together? I think that might help. |
Bit buzzy but PM me. |
I'm just closing this PR for now. Lets re-evaluate when we get the chance. |
This fixes #183. Not an ideal solution, but it works 😎 . What do you think @cedounet ?