The bug is fixed in Scintilla 5.1.2:
> On GTK, fix the line spacing so that underscores and accents are visible for
> some fonts such as DejaVu Sans Mono 10.
https://www.scintilla.org/ScintillaHistory.html
No Ubuntu release seem to have a version of libqscintilla* near that great.
--
You
Did you uncomment the heading?
On Sat, 7 Aug 2021, 11:36 am almir-campos, ***@***.***> wrote:
> I got the same problem and tried the proposed solution (adjusting the
> line-height), but nothing changed even when I exaggerated the the
> line_height as:
>
> line_height=10;10;false;false
>
> There
I got the same problem and tried the proposed solution (adjusting the
line-height), but nothing changed even when I exaggerated the the line_height
as:
```line_height=10;10;false;false```
There were no visible changes in any line_heights neither by reloading the
configuration nor by quitting
@Dawoodoz adjust the line height setting to add more space at the top.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-863582648
I have underscores working on Manjaro, but instead I get Swedish characters
cropped at the top so that "ÅÄÖ" looks like "AAO" while smaller "åäö" works.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@elextr Weird, my file came like that. I was confused why some of the lines
were uncommented as well. After commenting it out I can now see the
underscores. Thank you!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@kkadhith your pasted filetypes.common has not only the `[styling]` line and
the `line_height` line uncommented but all the comment lines are also
uncommented. Thats going to totally confuse the conf file reader so no
surprise it doesn't work.
--
You are receiving this because you are
I'm using Ubuntu 20.04 and I still have this problem. I attached my
filetypes.common [here](https://pastebin.com/EsG6M9EU). I uncommented `styling`
and added `line_height=1;1;`, but I still have this issue. I am using DejaVu
Sans Mono with a font size of 11. I noticed that zooming in or
https://github.com/geany/geany/issues/2796#issue-865286489
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-825084231
@cyberfox1 all people who work on Geany are volunteers, they do what they want
to work on. Of course its annoying to you, but being abusive or grouchy at
them won't get you anywhere, they will just ignore you.
> it is ALL fonts and Geany is currently an unusable product.
This is quite clearly
> @cyberfox1 without any further information its not possible to help you.
> Paste your filetypes.common to a pastebin and put a link here, plus the usual
> version of Geany and system you are on from the top of `Help->Debug Messages`
It doesn't sound like you have been able to help anyone.
>
@cyberfox1 without any further information its not possible to help you. Paste
your filetypes.common to a pastebin and put a link here, plus the usual version
of Geany and system you are on from the top of `Help->Debug Messages`
--
You are receiving this because you are subscribed to this
> Thanks and sorry for duplicate, I didn't search the closed issues :(
>
> Changing **Tools > Configuration Files > filetypes.common** to include
>
> ```
> [styling]
> line_height=0;2;
> ```
>
> solved this bug !
This does not work for me.
--
You are receiving this because you are subscribed
Whats the workaround? I tired line_height=0;2; and it didnt worked.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-804616022
The issue is in the deja-vu fonts which at some font sizes at some screen
resolutions specify a line height that is too small to contain the underscore
once it is rounded to an integral number of pixels. A quick google will show
that it affects both vscode and eclipse and in both cases the
> yes, the problem seems to mostly be dejavu fonts, which unfortunately Ubuntu
> made default.
hum... i don't know why this problem does not exist on many other editors (e.g.
vscode, bluefish, octave).
This issue should not be closed until it is resolved. I mean it is great to
have a
@AdamDanischewski yes, the problem seems to mostly be dejavu fonts, which
unfortunately Ubuntu made default.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-744900483
What worked for me is changing the font, View->Change Font to Nimbus Mono PS
Regular
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-744836684
@elextr @b4n Correct me, yes I have now rebooted and everything works great,
thank you guys.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739915354
@elextr Even by removing
both lines, does not show me the underscore ...
Can any of you send me your filetypes.common?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@Lo0is next time please paste to a pastebin and only paste a link here instead
of spamming every watcher of this repository with your whole file ... twice.
And to emphasise what @b4n is saying remove the `#~ ` from the `[styling]` line
and the `line_height=...` line.
--
You are receiving this
@b4n
I also tried to put 1; 1; but it doesn't work anyway, I'll put the code back to
you after changing the values.
`#~ # For complete documentation of this file, please see Geany's main
documentation
#~ [styling]
#~ # use foreground;background;bold;italic or named_style,bold,italic
#~ # used
@Lo0is lines starting with `#` are comment lines, they are not used. You need
to comment-out line 2 so it reads `[styling]`, and the line that has
`line_height` so it reads `line_height=1;1;`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or
This is my file, I hope it can help you to understand what is happening to me.
@elextr @b4n
`#~ # For complete documentation of this file, please see Geany's main
documentation
#~ [styling]
#~ # use foreground;background;bold;italic or named_style,bold,italic
#~ # used for filetype All/None
@b4n thats why I asked for it to be posted so we can check :)
See also my edit 6 comments above :)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739806633
@Lo0is wait, I think I know the issue: is that setting properly in a
`[styling]` section? By default the section itself is commented (on line 2),
which then doesn't work.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@Lo0is post your filetypes.common in your favourite pastebin and post a link
here.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739804217
@b4n sure, I've tried many combinations that goes beyond 1 but it doesn't give
me any kind of change
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739802114
@Lo0is did you try with bigger values than 1?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739795057
the solution did not help much, considering that I used another value but
nothing
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739753029
@Lo0is the solution is in a comment above
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-739586759
I find myself today, that I can no longer display the underscores.
Someone who solved, could give me some indication.
I don't feel like changing compiler.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
This been fixed in Geany 1.37.
The workaround to set `line_height` in `filetypes.common` is no longer
necessary.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
TL;DR
https://www.geany.org/documentation/faq/#geany-does-not-display-underscores-anymore
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-678787255
I had the same issue. I fixed it by changing the fonts: View->Change Font
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-663853400
@codinghedgehog-python what did you change? The recommended fix
[above](https://github.com/geany/geany/issues/2502#issuecomment-627789435)
doesn't change font sizes, just adds a few pixels to the spacing to fit the
underscores.
--
You are receiving this because you are subscribed to this
The workaround works but makes the font size super large. I can read my code
from 5 metres away XD. So if I'm getting this right the only way to have it
working normally like it used to, is to either go back to Ubuntu 18.04 or to
install previous release of Geany. Correct ?
--
You are
Sorry, my last comment is wrong. The underscore fix in Scintilla is *not* in
the 3.20.0 release.
Since I noticed it only after updating our Scintilla copy, we got #2506 anyway
:).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on
> Anyway the thing is to wait for the Scintilla change to ripple through
> Scintilla LTS branch and into Geany and see if its better (and if other fonts
> are worse :(
This already happened, the change is in the Scintilla 3.20.0 release and it
works on my system, i.e. I do see underscores
Thanks and sorry for duplicate, I didn't search the closed issues :(
Changing **Tools > Configuration Files > filetypes.common** to include
```
[styling]
line_height=0;2;
```
solved this bug !
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or
Since I went spelunking a bit, I shall leave some links - which may or not be
related - for those who wish to investigate this further:
https://bugs.freedesktop.org/show_bug.cgi?id=43760
https://bugs.freedesktop.org/show_bug.cgi?id=10693
https://bugs.freedesktop.org/show_bug.cgi?id=44624
I would expect that underscore isn't a simple line, but a filled shape like all
other characters, so its probably not so simple. And the issue isn't so much
drawing the underscore as the next line drawing over it because the line height
is too small (or the underscore drop is too large).
For reference, I was referring to this:
https://www.cairographics.org/FAQ/#sharp_lines
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-627688739
I didn't look at the change Neil made, but I think he might have changed a
truncation to a rounding, but not sure if that was round up/down/nearest. But
of course that may just change the perturbation surface to numbers near x.5 not
numbers near x.0. It depends on screen resolutions, the font
I saw that thread but didn't really understand what it's about. Can we just
change the default in Geany to fix the issue once and for all without
noticeable impact on other fonts? Is it just a matter of adding `0.5f` to clamp
it to the next nearest pixel as is often required in Cairo drawing?
And not just Ubuntu, Neil at Scintilla had it on Fedora too. Discussions on
that ML seemed to suggest that the font may be sensitive to rounding when
converting measurements to integer pixels. There was a change to the rounding
on Scintilla which may help, but rounding still occurs and
I guess we can expect a flood of new duplicates as people upgrade to Ubuntu
20.04 (and derivatives) and encounter this issue. I can confirm it happens here
too, but it's not limited to Geany, for example it happens in HexChat too.
--
You are receiving this because you are subscribed to this
Duplicate of #2466 and #1387 and others
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#issuecomment-627640989
Closed #2502.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2502#event-3329624722
Hello everyone,
Since the migration to Ubuntu 20.04, Geany no longer displays underscores.
I have to zoom in considerably to see them.
Any ideas on how to solve this annoying problem? Thanks for this fabulous
software !
--
You are receiving this because you are subscribed to this thread.
50 matches
Mail list logo