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
5b747663
Commit
5b747663
authored
Feb 09, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed: pcbnew: incorrect texts width in PS plot output.
parent
88cde309
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
plot_rtn.cpp
pcbnew/plot_rtn.cpp
+26
-4
No files found.
pcbnew/plot_rtn.cpp
View file @
5b747663
...
...
@@ -308,9 +308,20 @@ static void PlotTextModule( TEXTE_MODULE* pt_texte, int format_plot )
if
(
pt_texte
->
m_Mirror
)
size
.
x
=
-
size
.
x
;
// Text is mirrored
if
(
format_plot
==
PLOT_FORMAT_GERBER
)
SelectD_CODE_For_LineDraw
(
thickness
);
switch
(
format_plot
)
{
case
PLOT_FORMAT_GERBER
:
SelectD_CODE_For_LineDraw
(
thickness
);
break
;
case
PLOT_FORMAT_HPGL
:
break
;
case
PLOT_FORMAT_POST
:
SetCurrentLineWidthPS
(
thickness
);
break
;
}
PlotGraphicText
(
format_plot
,
pos
,
BLACK
,
pt_texte
->
m_Text
,
orient
,
size
,
...
...
@@ -564,8 +575,19 @@ void PlotTextePcb( TEXTE_PCB* pt_texte, int format_plot, int masque_layer )
if
(
pt_texte
->
m_Mirror
)
size
.
x
=
-
size
.
x
;
if
(
format_plot
==
PLOT_FORMAT_GERBER
)
SelectD_CODE_For_LineDraw
(
thickness
);
switch
(
format_plot
)
{
case
PLOT_FORMAT_GERBER
:
SelectD_CODE_For_LineDraw
(
thickness
);
break
;
case
PLOT_FORMAT_HPGL
:
break
;
case
PLOT_FORMAT_POST
:
SetCurrentLineWidthPS
(
thickness
);
break
;
}
PlotGraphicText
(
format_plot
,
pos
,
BLACK
,
pt_texte
->
m_Text
,
...
...
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