stathissideris / ditaa

ditaa is a small command-line utility that can convert diagrams drawn using ascii art ('drawings' that contain characters that resemble lines like | / - ), into proper bitmap graphics.
GNU Lesser General Public License v3.0
924 stars 87 forks source link

Remove 'o' as a bullet point pattern #75

Open georgeraraujo opened 2 years ago

georgeraraujo commented 2 years ago

Hi, Would you consider removing 'o' as a bullet point pattern? 'o' in Portuguese ' is equivalent to the definite article 'the', which results in unintended output:

/-------------------------------------------------------------------------------------\
|Coloque um fio de azeite na frigideira.                                              |
|Se quiser, salpique um pouquinho de farinha de trigo – isso ajuda o ovo a não grudar.|
|Deixe aquecer.                                                                       |
\-------------------------------------------------------------------------------------/
      |
      v
/------------------------------------------\
|Quebre o ovo na figideira.                |
|Salpique uma pitada de sal por todo o ovo.|
\------------------------------------------/
      |
      v
/----------------------------------------------------------------\
|Mantenha em fogo baixo até a clara estar rendada e a gema, mole.|
|Retire o ovo da frigideira e sirva.                             |
\----------------------------------------------------------------/

como_fritar_ovo

As far as I can tell it would be necessary to change line 913 of src/java/org/stathissideris/ascii2image/text/TextGrid.java:

https://github.com/stathissideris/ditaa/blob/f2286c4ddbb4f80e04196be09f4775d227fc9b87/src/java/org/stathissideris/ascii2image/text/TextGrid.java#L911-L919

Thanks!