yhirose / cpp-peglib

A single file C++ header-only PEG (Parsing Expression Grammars) library
MIT License
883 stars 112 forks source link

PEG Playground: Unicode display in Linux browsers #171

Closed kkayal closed 3 years ago

kkayal commented 3 years ago

The following issue is only about the PEG Playground and it seems only for Linux.

When I enter a line with some Unicode in it, the browser shows only the upper half of it. This makes it very hard to read. For example the grammar:

start <- 'ぁ'
# comment

is displayed in a way that the second line overlaps half of the first line.

This happens with my Ubuntu 20.04.2 LTS. I use firefox and chromium. Same result.

However, I tested the same with safari and firefox on mac (big sur) and see no problem. Also edge and firefox in windows 10 display the same thing just fine.

yhirose commented 3 years ago

@kkayal, thanks for the report, but I can't do anything for it, because that's due to the font rendering engine issue on the OS...