Skip to content
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

Cannot display file correctly #1978

Closed
wangnan789 opened this issue Oct 16, 2018 · 11 comments
Closed

Cannot display file correctly #1978

wangnan789 opened this issue Oct 16, 2018 · 11 comments
Labels

Comments

@wangnan789
Copy link

The following file cannot be displayed correctly。vi,nano,uemacs,is ok

Comparison chart is here https://github.com/cws999/BFCA/blob/master/99.jpeg

This is my configuration https://github.com/cws999/BFCA/blob/master/geany.conf

@b4n b4n added the scintilla label Oct 16, 2018
@b4n
Copy link
Member

b4n commented Oct 16, 2018

Indeed, the editing component we use (Scintilla) has issues with some characters that are wider than usual.
It might or might not be caused by the underlying library used, Pango.

Other GTK apps like the GTK text view or GEdit also behave suboptimally here.

@elextr
Copy link
Member

elextr commented Oct 16, 2018

I suspect it is font related, not Scintilla or Geany related, on my system (Geany Git HEAD, so Scintilla 3.10) I only see only an error on the first line of "Mathematics and Sciences", all the rest looks ok.

@elextr
Copy link
Member

elextr commented Oct 16, 2018

Aaaaand I finally found what the system monospace font is, Noto Sans Monospace Regular, on GTK 3.18.9, GLib 2.48.2

@codebrainz
Copy link
Member

I suspect it is font related...

I agree. I can get various levels of working from completely wonky, to perfect by trying different fonts. AverageMono seems to fare very well. Also, looking at the plain text in Firefox is not great.

@elextr elextr added invalid and removed scintilla labels Oct 17, 2018
@wangnan789
Copy link
Author

I suspect it is font related...

I agree. I can get various levels of working from completely wonky, to perfect by trying different fonts. AverageMono seems to fare very well. Also, looking at the plain text in Firefox is not great.

Have you tried it? I tried,Become more chaotic

@wangnan789
Copy link
Author

I suspect it is font related, not Scintilla or Geany related, on my system (Geany Git HEAD, so Scintilla 3.10) I only see only an error on the first line of "Mathematics and Sciences", all the rest looks ok.

I change the font,Become more chaotic

@elextr
Copy link
Member

elextr commented Oct 31, 2018

I change the font,Become more chaotic

So clearly the effect is font dependent.

@wangnan789
Copy link
Author

I change the font,Become more chaotic

So clearly the effect is font dependent.

Also explained Change fonts does not solve the problem

@elextr
Copy link
Member

elextr commented Nov 6, 2018

Also explained Change fonts does not solve the problem

To explain more clearly, the problem is not Geany, its the font or the system rendering libraries that use the font.

And yes I have tried it, as I said in my first post I don't see the same problems as you see, did you try the font I posted above?

@wangnan789
Copy link
Author

Also explained Change fonts does not solve the problem

To explain more clearly, the problem is not Geany, its the font or the system rendering libraries that use the font.

And yes I have tried it, as I said in my first post I don't see the same problems as you see, did you try the font I posted above?

Yes, I have tried it.

@elextr
Copy link
Member

elextr commented Nov 8, 2018

Yes, I have tried it.

And it was better/worse/the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants