martinthomson / aasvg

Turn ASCII art into SVG
BSD 2-Clause "Simplified" License
70 stars 11 forks source link

Interpretating text as lines in figures and tables #11

Open emanjon opened 1 year ago

emanjon commented 1 year ago

Thanks for this great tool!

I just started using aasvg in all my active drafts. I just wanted to share the two problems I had with aasvg interpretating text as lines in figures and tables. I don't know if there is anything to improve this. Right now the solution is to change the text to avoid problems.

~~~~~~~~~~~~~~~~~~~~~~~ aasvg
=====================================================================
 Flight                                   #1      #2      #3   Total
---------------------------------------------------------------------
 DTLS 1.3 RPK + ECDHE                    152     414     248     814
 DTLS 1.3 RPK (compressed) + ECDHE       152     382     216     750
 DTLS 1.3 Cached RPK + RPK + ECDHE       191     362     248     801
 DTLS 1.3 Cached X.509 + RPK + ECDHE     185     356     248     789
=====================================================================
~~~~~~~~~~~~~~~~~~~~~~~ aasvg

~~~~~~~~~~~~~~~~~~~~~~~ aasvg
      |              |                            |                |
      |      +-------+----------------------------+----------------+--+
      |      | session keys; in basic EAP-AKA' the keys are only      |
      |      | based on CK and IK.                                    |
      |      +-------+----------------------------+----------------+--+
      |              |                            |                |
~~~~~~~~~~~~~~~~~~~~~~~ aasvg
martinthomson commented 1 year ago

Fun bugs. I have only workarounds at this stage:

  1. use a proper table
  2. move the text one character to the right