No sketch mode text rendering in GAL

Bug #1687483 reported by Andrzej Wolski on 2017-05-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Low
Jeff Young

Bug Description

Text in both OpenGL and Cairo modes is always displayed in filled mode, regardless of "show in sketch mode" settings.

Version: (2017-04-21 revision 0e6723bb1)-makepkg, release build

Jeff Young (jeyjey) wrote :

Does this actually have much use? A curved character with lots of segments ends up half-filled in anyway. And if we move to actual fonts in the future, we won't have this option anyway.

Maybe the right way to "fix" this bug is just to remove the option?

Andrzej Wolski (awolski) wrote :

It may not have a lot of use, but it is nice to have.
I least I sometimes like to work in outline mode.

I don't see a reason why TrueType fonts cant be displayed in outline mode, they will look even better than stroke fonts.

I identified this problem to a fact that drawSingleLineText uses drawPolyline which draws only filled lines.
I am not sure how to properly fix this.

On 1/15/2018 11:51 AM, Andrzej Wolski wrote:
> It may not have a lot of use, but it is nice to have.
> I least I sometimes like to work in outline mode.
>
> I don't see a reason why TrueType fonts cant be displayed in outline
> mode, they will look even better than stroke fonts.

The issue is converting to TT fonts to stroke fonts for accurate output
to plot (gerber) files. This is why we don't use them in Pcbnew.

>
> I identified this problem to a fact that drawSingleLineText uses drawPolyline which draws only filled lines.
> I am not sure how to properly fix this.
>

Changed in kicad:
status: New → Confirmed
importance: Undecided → Low
tags: added: gal
Jeff Young (jeyjey) on 2018-03-14
summary: - Text do not follow "show in sketch mode" setting
+ No sketch mode text rendering in GAL
Jeff Young (jeyjey) wrote :

This bug hasn't gotten any more love in 2 years, and the legacy canvas will be going away soon, so I'm going to remove the "sketch text" setting.

If we do ever move to TrueType fonts we can replace it with outline fonts.

Changed in kicad:
milestone: none → 6.0.0-rc1
assignee: nobody → Jeff Young (jeyjey)
Jeff Young (jeyjey) on 2019-05-18
Changed in kicad:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers