No sketch mode text rendering in GAL

Bug #1687483 reported by Andrzej Wolski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
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

Tags: gal pcbnew
Revision history for this message
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?

Revision history for this message
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.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1687483] Re: Text do not follow "show in sketch mode" setting

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)
summary: - Text do not follow "show in sketch mode" setting
+ No sketch mode text rendering in GAL
Revision history for this message
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)
Changed in kicad:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.