diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-03-11 18:15:06 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-03-11 18:15:06 +0000 |
| commit | a00de9d4a0a6c988060c1963e05a8518b09fe6c5 (patch) | |
| tree | 9157d6775fee88e6786d00b87484a0e4c2dc1dbc /src | |
| parent | Improve native method table structure (diff) | |
| download | inkscape-a00de9d4a0a6c988060c1963e05a8518b09fe6c5.tar.gz inkscape-a00de9d4a0a6c988060c1963e05a8518b09fe6c5.zip | |
fix by Albin Sunnanbo for dash offset in text
(bzr r5055)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/nr-arena-glyphs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/nr-arena-glyphs.cpp b/src/display/nr-arena-glyphs.cpp index ad108e0a0..ca4e781a9 100644 --- a/src/display/nr-arena-glyphs.cpp +++ b/src/display/nr-arena-glyphs.cpp @@ -185,6 +185,7 @@ nr_arena_glyphs_update(NRArenaItem *item, NRRectL */*area*/, NRGC *gc, guint /*s nstyl.dash_offset = 0; nstyl.dashes=NULL; if ( glyphs->style->stroke_dash.n_dash > 0 ) { + nstyl.dash_offset = glyphs->style->stroke_dash.offset * scale; nstyl.nbDash=glyphs->style->stroke_dash.n_dash; nstyl.dashes=(double*)malloc(nstyl.nbDash*sizeof(double)); for (int i = 0; i < nstyl.nbDash; i++) nstyl.dashes[i]= glyphs->style->stroke_dash.dash[i] * scale; |
