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
dffacc18
Commit
dffacc18
authored
Dec 05, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DIfferent handling of italic texts, depending on the mirroring setting.
parent
24550f3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
stroke_font.cpp
common/gal/stroke_font.cpp
+4
-1
No files found.
common/gal/stroke_font.cpp
View file @
dffacc18
...
...
@@ -297,7 +297,10 @@ void STROKE_FONT::drawSingleLineText( const wxString& aText )
{
// FIXME should be done other way - referring to the lowest Y value of point
// because now italic fonts are translated a bit
pointPos
.
x
+=
pointPos
.
y
*
0.1
;
if
(
m_mirrored
)
pointPos
.
x
+=
pointPos
.
y
*
0.1
;
else
pointPos
.
x
-=
pointPos
.
y
*
0.1
;
}
pointListScaled
.
push_back
(
pointPos
);
...
...
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