summaryrefslogtreecommitdiff
path: root/ps
Commit message (Expand)AuthorAgeFilesLines
* 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 Kastrup2013-12-071-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 Kastrup2013-12-071-26/+92
* Don't meddle with Ghostscript's choice of currentstrokeadjust...It should be appropriate for device and resolution by default. David Kastrup2013-12-071-1/+1
* Make stroke_and_fill? PostScript operator that fills conditionallyDavid Kastrup2013-12-071-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 Kastrup2013-12-071-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 Kastrup2012-03-071-8/+13
* Gets rid of repeat-slash stencil commandMike Solomon2012-02-061-12/+0
* Gets rid of bezier-sandwich stencilMike Solomon2012-02-061-21/+0
* Gets rid of oval stencil commandMike Solomon2012-02-061-14/+0
* Gets rid of dot stencil commandMike Solomon2012-02-061-8/+0
* Gets rid of dashed-slur stencil commandMike Solomon2012-02-061-15/+0
* Do not issue rectstroke if blot diameter is 0.0....This prevents some PostScript printers from thickening barlines. Han-Wen Nienhuys2011-07-211-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 Kainhofer2011-04-151-0/+18
* Build: end directories in their bare names and avoid some double slashes in l...Francisco Vila2011-02-011-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 McCarty2010-08-131-18/+0
* Remove obsolete targets in ps/GNUmakefile.Patrick McCarty2010-07-111-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 Solomon2010-06-261-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 Neeman2009-06-061-6/+8
* Update bezier-sandwich comment -- Mark PoleskyCarl Sorensen2009-06-021-0/+1
* Update bezier-sandwich in-routine documentation -- Mark PoleskyCarl Sorensen2009-06-021-3/+6
* Remove SCons traces because of unmaintained stateJohn Mandereau2009-01-051-11/+0
* Remove tex and texstr backends (part 1)....Part 2 will remove documentation accordingly for German and English. Werner Lemberg2008-12-071-5/+0
* Add bezier oval for harp pedal diagramsCarl Sorensen2008-09-111-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 Sorensen2008-08-221-1/+14
* Remove unused PS macro.Erlend Aasland2007-11-281-21/+0
* Remove old TODO comments.Erlend Aasland2007-11-281-2/+0
* Do not generate negative dash pattern entries for small dash-periods.Han-Wen Nienhuys2007-07-291-1/+1
* Fix #264...Use currentpoint in mark_URI input. Han-Wen Nienhuys2007-02-021-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 Nienhuys2006-09-171-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 Nienhuys2006-06-181-23/+0
* Fix some bugs in the dynamic engraver and PostScript backendErlend Aasland2006-05-312-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 Nienhuys2006-09-171-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 Nienhuys2006-06-181-23/+0
* Fix cut&paste code in Phrasing_slur_engraver:: and Slur_engraver::, and fix a...Erlend Aasland2006-04-191-0/+1
* * ps/music-drawing-routines.ps (draw_dashed_line): fix dash pattern bug.Erlend Aasland2006-04-171-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 Nienhuys2006-04-061-33/+24
* *** empty log message ***Han-Wen Nienhuys2006-04-041-43/+56
* *** empty log message ***Han-Wen Nienhuys2006-04-042-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 Nienhuys2006-03-311-4/+15
* * Documentation/topdocs/NEWS.tely (Top): show override....* scm/define-grobs.scm (all-grob-descriptions): reinstate neutral direction for stems. Han-Wen Nienhuys2006-03-161-1/+2
* (get_option_parser):Han-Wen Nienhuys2006-03-121-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 Nienhuys2006-03-021-1/+1
* the great dash-replace....(lilypond_version_re_str): require only numbers and dots in \version string. Han-Wen Nienhuys2006-02-061-3/+3
* *** empty log message ***Jan Nieuwenhuizen2006-02-041-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 Nienhuys2006-01-301-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 Nieuwenhuizen2005-10-241-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 Nienhuys2005-07-131-27/+0
* *** empty log message ***Han-Wen Nienhuys2005-06-031-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 Nienhuys2005-05-311-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 Nienhuys2005-05-281-198/+1