andrewbrg / codepad-chrome-app

An awesome multi-language IDE written in JavaScript, crafted for ChromeOS and released under the GNU general public license!
https://chrome.google.com/webstore/detail/code-pad-ide/adaepfiocmagdimjecpifghcgfjlfmkh
GNU General Public License v3.0
134 stars 86 forks source link

[Bug] Cousine Font (A Mono Font) Doesn't Follow Mono Styling When Italicized #63

Open PaxiTheAlchemist opened 3 years ago

PaxiTheAlchemist commented 3 years ago

Cousine Font (A Mono Font) Doesn't Follow Mono Styling When Italicized

Description of the Bug

When typing comments within a programming language (in my case, python) or having Codepad italicize characters within the Cousine font, the italicized text will stop aligning to mono spacing while also going past the cursor as well if the italicized text within the line is long enough.

I have yet to test other fonts, however I can guarantee that this issue exists on the Cousine font. It may be a good idea to test this on other fonts as well

img

As you can see here when highlighting the text Test, the highlights seem to be out of place. The cursor is currently supposed to be at the end of the line aswell, however, it seems to also be missed placed due to how the text is rendering

Replication

  1. Use the Cousine font
  2. Type out a long line of italicized characters (through any way possible, including commenting methods through languages)
PaxiTheAlchemist commented 3 years ago

Just did a check of all of the mono fonts and i discovered that they all share the same issue, confirming my suspicions.

Semdealexandre2 commented 2 years ago

push

coder0107git commented 1 year ago

@PaxiTheAlchemist Probably a problem with Ace. Seeing how the Ace version that Codepad uses is (probably) very outdated, it shouldn't be a problem with the latest Ace version.