| Commit message (Expand) | Author | Age | Files | Lines |
* | Implement option -dstrokeadjust in order to get stroked stems and strokeadjus......This makes the stroke drawing primitives for long rounded rectangles
dependent on the setting of currentstrokeadjust. As a result,
low-resolution bitmap devices (up to 150 dpi or so) will get stroke
adjustment applied automatically. The option needs to get invoked
explicitly to get stroke adjustment for PDF, giving a large file size
increase and markedly better previews on a number of PDF previewers.
| David Kastrup | 2013-12-07 | 1 | -34/+41 |
* | Issue 2658: Be serious about setstrokeadjust in PostScript primitives...This particularly concerns draw_round_box which is used for drawing
lines with a rounded ending. If the width/height ratio or its inverse
exceeds 2, the box is considered to be a "line". In this case, first
a clipping path is established representing the whole shape and
extended widely in the area of the "main stroke". The reason for this
extension is to avoid both clip area and stroke competing for the
outline. While this is not a problem for the PostScript or PDF
rendering model, the Cairo bitmap rendering library employs
Porter-Duff compositing for antialiasing amounting to "cheap man's
antialiasing" not requiring a higher rendering resolution but relying
on edges affecting a single pixel to be independent.
Porter-Duff requires us not to have multiple parallel strokes or clip
areas if we want to avoid wrong sub-pixel grayness levels (and
consequently lines appearing too thick or thin) in Cairo-based
previewers like Evince.
After establishing the clip area, a stroke is drawn through. This
stroke may (at the PostScript device's discretion) employ
strokeadjustment further correcting the apparent thickness.
Ghostscript employs stroke adjustment when rendering at a resolution
below 150dpi. Stroke adjustment does not pass into PDF, however, when
ps2pdf runs.
Ghostscript performs sub-pixel rendering for antialiasing which
reduces the amount of discontinuities possibly caused by joining
stroke-adjusted shapes with full shapes.
It turns out that sharper contours can be achieved by using strokepath
and fill instead of a plain stroke. However, the resulting crisper
stems tend to combine worse with beams, so this approach has not been
pursued.
| David Kastrup | 2013-12-07 | 1 | -26/+92 |
* | Don't meddle with Ghostscript's choice of currentstrokeadjust...It should be appropriate for device and resolution by default.
| David Kastrup | 2013-12-07 | 1 | -1/+1 |
* | Make stroke_and_fill? PostScript operator that fills conditionally | David Kastrup | 2013-12-07 | 1 | -13/+11 |
* | Make music-drawing-routines.ps require PostScript 2.0...There is no point having conditional code around setstrokeadjust and
its ilk any more.
| David Kastrup | 2013-12-07 | 1 | -7/+2 |
* | Issue 2328: Ledger lines in PNG output have white interior...Don't stroke rectangles with height or width 0 in draw_round_box
| David Kastrup | 2012-03-07 | 1 | -8/+13 |
* | Gets rid of repeat-slash stencil command | Mike Solomon | 2012-02-06 | 1 | -12/+0 |
* | Gets rid of bezier-sandwich stencil | Mike Solomon | 2012-02-06 | 1 | -21/+0 |
* | Gets rid of oval stencil command | Mike Solomon | 2012-02-06 | 1 | -14/+0 |
* | Gets rid of dot stencil command | Mike Solomon | 2012-02-06 | 1 | -8/+0 |
* | Gets rid of dashed-slur stencil command | Mike Solomon | 2012-02-06 | 1 | -15/+0 |
* | Do not issue rectstroke if blot diameter is 0.0....This prevents some PostScript printers from thickening barlines.
| Han-Wen Nienhuys | 2011-07-21 | 1 | -9/+18 |
* | Add feature to link to a particular page or a page containing a given label...The main part of this patch was done by Dan Eble and posted to the
lilypond-devel mailinglist on December 27, 2010.
Like \with-url, this works only with the PDF backend.
-) Add markup functions \with-link (links to the page containing the
given label) and \page-link (links to the given page number)
-) Internally, they are handled like the \with-url markup function,
creating a pdfmark in the .ps file that creates the link in the
PDF file.
-) Add links to the pages for all TOC entries.
| Reinhold Kainhofer | 2011-04-15 | 1 | -0/+18 |
* | Build: end directories in their bare names and avoid some double slashes in l... | Francisco Vila | 2011-02-01 | 1 | -1/+1 |
* | Remove traces of 'connected-shape....Since 'path is a superset of the functionality provided by
'connected-shape, we no longer need 'connected-shape.
| Patrick McCarty | 2010-08-13 | 1 | -18/+0 |
* | Remove obsolete targets in ps/GNUmakefile. | Patrick McCarty | 2010-07-11 | 1 | -9/+0 |
* | Add woodwind fingering diagrams...Add new file scm/woodwind-diagrams.scm
Modify drawing routines as necessary
Add new procedures to lily-library
Add new file with bezier manipulation routines
Add new stencils for use in woodwind diagrams
Add regression tests for woodwind diagrams
| Mike Solomon | 2010-06-26 | 1 | -5/+63 |
* | Fix 541....The x_offset and y_offset fields in PangoGlyphGeometry should not
be included in the advance. That is, they only affect the position
of their glyph.
| Joe Neeman | 2009-06-06 | 1 | -6/+8 |
* | Update bezier-sandwich comment -- Mark Polesky | Carl Sorensen | 2009-06-02 | 1 | -0/+1 |
* | Update bezier-sandwich in-routine documentation -- Mark Polesky | Carl Sorensen | 2009-06-02 | 1 | -3/+6 |
* | Remove SCons traces because of unmaintained state | John Mandereau | 2009-01-05 | 1 | -11/+0 |
* | Remove tex and texstr backends (part 1)....Part 2 will remove documentation accordingly for German and English.
| Werner Lemberg | 2008-12-07 | 1 | -5/+0 |
* | Add bezier oval for harp pedal diagrams | Carl Sorensen | 2008-09-11 | 1 | -0/+14 |
* | Change harp pedal outlines to ellipses...Add ellipse drawing routines to ps and svg output
Add ellipse stencil
Add ellipse-stencil routine to center stencil in ellipse
Modify scm/harp-pedals.scm to use ellipse routine
Reformat code to avoid long lines
| Carl Sorensen | 2008-08-22 | 1 | -1/+14 |
* | Remove unused PS macro. | Erlend Aasland | 2007-11-28 | 1 | -21/+0 |
* | Remove old TODO comments. | Erlend Aasland | 2007-11-28 | 1 | -2/+0 |
* | Do not generate negative dash pattern entries for small dash-periods. | Han-Wen Nienhuys | 2007-07-29 | 1 | -1/+1 |
* | Fix #264...Use currentpoint in mark_URI input.
| Han-Wen Nienhuys | 2007-02-02 | 1 | -5/+2 |
* | * scm/framework-ps.scm (dump-stencil-as-EPS): naming pad-eps-boxes....* scm/backend-library.scm: option naming: gs-font-load*s*
* scm/framework-eps.scm (dump-stencils-as-EPSes): rename option to
include-eps-fonts
| Han-Wen Nienhuys | 2006-09-17 | 1 | -4/+0 |
* | * lily/spacing-spanner.cc (musical_column_spacing): set...compound_fixed_note_space to 0.0. Document why.
* lily/simple-spacer.cc (is_sane): also have a kludge for numeric
range of inverse_hooke_
(Simple_spacer): init completely.
(fits): const
(get_line_configuration): don't use cols.resize(); it introduces
initialized data.
* scm/framework-ps.scm (dump-page): add setstrokeadjust. Backportme.
* ps/music-drawing-routines.ps: remove selectfont L1 hack.
| Han-Wen Nienhuys | 2006-06-18 | 1 | -23/+0 |
* | Fix some bugs in the dynamic engraver and PostScript backend | Erlend Aasland | 2006-05-31 | 2 | -0/+27 |
* | * scm/framework-ps.scm (dump-stencil-as-EPS): naming pad-eps-boxes....* scm/backend-library.scm: option naming: gs-font-load*s*
* scm/framework-eps.scm (dump-stencils-as-EPSes): rename option to
include-eps-fonts
| Han-Wen Nienhuys | 2006-09-17 | 1 | -4/+0 |
* | * lily/spacing-spanner.cc (musical_column_spacing): set...compound_fixed_note_space to 0.0. Document why.
* lily/simple-spacer.cc (is_sane): also have a kludge for numeric
range of inverse_hooke_
(Simple_spacer): init completely.
(fits): const
(get_line_configuration): don't use cols.resize(); it introduces
initialized data.
* scm/framework-ps.scm (dump-page): add setstrokeadjust. Backportme.
* ps/music-drawing-routines.ps: remove selectfont L1 hack.
| Han-Wen Nienhuys | 2006-06-18 | 1 | -23/+0 |
* | Fix cut&paste code in Phrasing_slur_engraver:: and Slur_engraver::, and fix a... | Erlend Aasland | 2006-04-19 | 1 | -0/+1 |
* | * ps/music-drawing-routines.ps (draw_dashed_line): fix dash pattern bug. | Erlend Aasland | 2006-04-17 | 1 | -0/+1 |
* | * lily/slur.cc (print): only set font-size if not set yet....* lily/slur-configuration.cc (add_score): improved layout of debug
scoring output.
| Han-Wen Nienhuys | 2006-04-06 | 1 | -33/+24 |
* | *** empty log message *** | Han-Wen Nienhuys | 2006-04-04 | 1 | -43/+56 |
* | *** empty log message *** | Han-Wen Nienhuys | 2006-04-04 | 2 | -121/+85 |
* | * scm/framework-ps.scm:...Patch by David Feuer.
* scm/output-ps.scm: glyph-string now produces smaller, more
readable, and probably faster PostScript. Several findfont
scalefont setfont instances changed to selectfont
Hacked-up string-appends changed to formats.
Patch by David Feuer.
* ps/music-drawing-routines.ps: add print_letter, print_glyphs.
Patch by David Feuer.
| Han-Wen Nienhuys | 2006-03-31 | 1 | -4/+15 |
* | * Documentation/topdocs/NEWS.tely (Top): show override....* scm/define-grobs.scm (all-grob-descriptions): reinstate neutral
direction for stems.
| Han-Wen Nienhuys | 2006-03-16 | 1 | -1/+2 |
* | (get_option_parser): | Han-Wen Nienhuys | 2006-03-12 | 1 | -3/+4 |
* | * scripts/midi2ly.py (Key.dump): pychecker cleanups....* python/lilylib.py (underscore): remove identify() , warranty()
* ps/music-drawing-routines.ps: change Border routine for GSView
compatibility.
* lily/stem.cc (height): use quantize-positions. This triggers
set_stem_lengths, so scripts on beamed stems are handled correctly.
* lily/side-position-interface.cc (aligned_side): check if edges
of script are inside staff. Fixes accent of edge of the staff.
* input/regression/staccato-pos.ly: more examples.
| Han-Wen Nienhuys | 2006-03-02 | 1 | -1/+1 |
* | the great dash-replace....(lilypond_version_re_str): require
only numbers and dots in \version string.
| Han-Wen Nienhuys | 2006-02-06 | 1 | -3/+3 |
* | *** empty log message *** | Jan Nieuwenhuizen | 2006-02-04 | 1 | -1/+1 |
* | * Documentation/topdocs/NEWS.tely (Top): simplify NEWS entry, add...Nicolas.
* scm/define-markup-commands.scm (epsfile): add scaling to \epsfile.
* ps/lilyponddefs.ps: remove start-system, stop-system,
start-page fluff. This saves putting { } code on the stack, fixing
stack overflows when including EPS files.
| Han-Wen Nienhuys | 2006-01-30 | 1 | -35/+0 |
* | * stepmake/stepmake/generic-vars.make (DIST_FILES): Fix...src-wildcard, remove $(wildcard).
* po/GNUmakefile (PO_FILES):
* ps/GNUmakefile (PS_FILES):
* tex/GNUmakefile (TEX_FILES):
* cygwin/GNUmakefile (POSTINSTALLS):
* vim/GNUmakefile (EXTRA_DIST_FILES): Bugfix: [etags sr?] missed
some wildcard calls.
| Jan Nieuwenhuizen | 2005-10-24 | 1 | -1/+1 |
* | * scm/output-gnome.scm: remove beam routine....* scm/output-ps.scm (scm): idem.
* scm/output-svg.scm: remove beam.
* ps/music-drawing-routines.ps: remove draw_beam.
* lily/lookup.cc (beam): use round_filled_polygon() for beam.
| Han-Wen Nienhuys | 2005-07-13 | 1 | -27/+0 |
* | *** empty log message *** | Han-Wen Nienhuys | 2005-06-03 | 1 | -0/+19 |
* | * make/lilypond.fedora.spec.in (Group): remove...lilypond-pdfpc-helper.
* scripts/GNUmakefile (SEXECUTABLES): remove
lilypond-pdfpc-helper. Use lilypond-invoke-editor instead.
| Han-Wen Nienhuys | 2005-05-31 | 1 | -0/+27 |
* | * lily/stencil-scheme.cc (LY_DEFINE): ly:stencil-in-color...* ps/music-drawing-routines.ps:
* scm/output-ps.scm: remove draw ez_ball.
* ly/engraver-init.ly (AncientRemoveEmptyStaffContext): remove
EasyNotation context definition.
* lily/easy-notation.cc (brew_ez_stencil): new file. Use
Text_interface and color for making easy note heads.
* lily/stencil.cc (with_color): new function.
* ps/music-drawing-routines.ps: remove draw_zigzag_line
* lily/line-spanner.cc (zigzag_stencil): rewrite to use draw-line
output routine. Zigzag now works in SVG too.
* scm/output-tex.scm (filledbox): idem.
* scm/output-svg.scm (filledbox): idem.
* scm/output-ps.scm (lily-def): remove horizontal-line.
* lily/lookup.cc (horizontal_line): use draw-line.
* lily/system-start-delimiter.cc: remove old staff bracket code.
* lily/system-start-delimiter.cc (staff_bracket): use glyphs.
| Han-Wen Nienhuys | 2005-05-28 | 1 | -198/+1 |