Mercurial > hg > octave-lyh
view libinterp/find-defun-files.sh @ 16206:9ba5c5ed3aeb
Add new verticalalignment option 'cap' for OpenGL plotting.
* libinterp/interp-core/txt-eng-ft.cc(ft_render::text_to_pixels): Implement new
'cap' vertical alignment which is glyph_max_height - glyph_descender_height. This
approximates height of a capital letter.
* libinterp/interpfcn/graphics.cc (text::properties::update_text_extent):
Add 'cap' to if/else if/ tree checking possible verticalalignment options.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 06 Mar 2013 15:10:22 -0800 |
parents | 39096b290a2f |
children |
line wrap: on
line source
#! /bin/sh set -e SED=${SED:-sed} EGREP=${EGREP:-egrep} # Some stupid egreps don't like empty elements in alternation patterns, # so we have to repeat ourselves because some stupid egreps don't like # empty elements in alternation patterns. DEFUN_PATTERN="^[ \t]*DEF(CONSTFUN|CMD|UN|UN_DLD|UNX_DLD|UN_TEXT)[ \t]*\\(" srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$EGREP -l "$DEFUN_PATTERN" $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,," | $SED 's/\.cc$/.df/; s/\.ll$/.df/; s/\.in.yy$/.df/'; fi done