Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e6db185f
Commit
e6db185f
authored
Mar 16, 2015
by
Chris Pavlina
Committed by
Maciej Suminski
Mar 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted text overbar height in GAL.
parent
be299528
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
stroke_font.cpp
common/gal/stroke_font.cpp
+2
-2
No files found.
common/gal/stroke_font.cpp
View file @
e6db185f
...
...
@@ -32,7 +32,7 @@
using
namespace
KIGFX
;
const
double
STROKE_FONT
::
OVERBAR_HEIGHT
=
0.
4
5
;
const
double
STROKE_FONT
::
OVERBAR_HEIGHT
=
0.
8
5
;
const
double
STROKE_FONT
::
BOLD_FACTOR
=
1.3
;
const
double
STROKE_FONT
::
HERSHEY_SCALE
=
1.0
/
21.0
;
...
...
@@ -163,7 +163,7 @@ void STROKE_FONT::Draw( const UTF8& aText, const VECTOR2D& aPosition, double aRo
// Single line height
int
lineHeight
=
getInterline
(
);
int
lineCount
=
linesCount
(
aText
);
// align the 1st line of text
switch
(
m_verticalJustify
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment