[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31468] multi-line text objects
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #31468] multi-line text objects |
Date: |
Sun, 13 Feb 2011 12:10:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Follow-up Comment #9, bug #31468 (project octave):
This issue hadn't been solved yet in 3.4.0.
- Using GNUplot the fix by David Bateman works OK.
- Using FLTK that works too but warning messages "ft-render: missing glyph for
character '
' show up (note the newline between quotes).
(Surprisingly (for me) this warning shows up twice for each newline. I also
see newlines silently inserted when using cell string arrays as input arg to
title(), as
title ({"Title"})
shows.)
I made a fix for suppressing those messages that works for me on Linux. I
expect it to work on MinGW too but I can't check as I cannot build Octave on
Windows.
I'm attaching two patches (using diff -cp):
- One for __axis_label__.m, the patch suggested by David Bateman
- One for src/txt-eng-ft.cc
+ a Changelog entry.
The 2nd patch makes txt-eng-ft() skip only newline warnings, as newline
characters aren't "printed" (but turn out to work OK). Tabs and r (char
return) do show up with dashed boxes, but I think this is currently no big
deal for the multi-line fix itself. David's fix doesn't add in r chars, only
n's
BTW my 2nd patch is about as far as I can get using my limited C++ knowledge
:-)
I don't know how to make a changeset, sorry. I couldn't find a useful
ready-to-fill-in template.
(file #22667, file #22668, file #22669)
_______________________________________________________
Additional Item Attachment:
File name: __axis_label__.m.diff Size:0 KB
File name: txt-eng-ft.cc.diff Size:1 KB
File name: Changelog_31468 Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31468>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #31468] multi-line text objects,
Philip Nienhuis <=