Mercurial > hg > octave-avbm
changeset 9833:637fa784d102
Allow more font matches
author | godfrey@isl.Stanford.EDU |
---|---|
date | Wed, 18 Nov 2009 21:02:49 -0500 |
parents | cd0c4a5a12c8 |
children | 92d8f35ff217 |
files | src/ChangeLog src/txt-eng-ft.cc |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-11-18 Michael Godfrey <godfrey@isl.stanford.edu> + + * txt-eng-ft.cc: Relax font match test. + 2009-11-18 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/bsxfun.cc (bsxfun_builtin_op): New member:
--- a/src/txt-eng-ft.cc +++ b/src/txt-eng-ft.cc @@ -140,8 +140,10 @@ FcDefaultSubstitute (pat); match = FcFontMatch (0, pat, &res); - - if (match && res != FcResultNoMatch) + + // FIXME -- originally, this test also required that + // res != FcResultNoMatch. Is that really needed? + if (match) { unsigned char *tmp;