[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Glyphs of Fonts for Special Characters in Octave Fail
From: |
stimits |
Subject: |
Re: Glyphs of Fonts for Special Characters in Octave Fail |
Date: |
Sun, 31 Dec 2017 23:46:54 +0000 (UTC) |
Btw, sorry about my top-posting, it's what my web mail does...otherwise quotes get mixed up....also my typo of "symx x" which should be "syms x":
syms x
sqrt(x)
sqrt(1/x)
1/sqrt(x)
Yes, this is what I am talking about...copy and paste shows the character is there (the numeric value), but the display is incorrect in octave (the parts which are extended character set glyphs). It isn't an issue with the operating system per se since pasting into a new window of another application set to the same (or even different) font works.
I am using Fedora, this extends then to Ubuntu. Anyone else able to reproduce this on any different system, e.g., a Windows user? Or other Linux distributions? Does anyone see the command window display correctly for the radical?
Note: Octave is using the correct character, whoever developed the character rendering code may be different from development of the symbolic package since many numeric calculations do not require rendering an extended character...I guess what I am wondering is if this displayed correctly for whoever built the symbolic package...if so, then I am wondering if developers saw this work correctly by virtue of running on Windows?
Can anyone with Windows octave/symbolic who can verify? Does symbolic display correctly for anyone on any o/s?
----- Original Message -----
From: eric <address@hidden>
To: address@hidden
Sent: Sun, 31 Dec 2017 22:45:06 -0000 (UTC)
Subject: Re: Glyphs of Fonts for Special Characters in Octave Fail
On 12/31/2017 03:29 PM, address@hidden wrote:
> An alternate question...can anyone using the symbolic package correctly
> see then entire sqrt (radical) symbol from:
> symx x
> sqrt(x)
> sqrt(1/x)
> 1/sqrt(x)
> If "yes", which version of octave (and what operating system or
> distribution are you using) and which font is used in your terminal
> window was used?
> I suppose a "no" answer with that same information would be useful. I'm
> wondering if there might be someone this works for, and if it does, what
> might be in common or different than my version.
I am running GNU Octave, version 4.0.0 on Ubuntu 16.04.
Here is what my command window looks like if I follow from above
(substituting symx to syms :-) ) and copying and pasting into the email
body.
>> pkg load symbolic
>> symx x
error: 'symx' undefined near line 1 column 1
>> syms x
OctSymPy v2.2.4: this is free software without warranty, see source.
Initializing communication with SymPy using a popen2() pipe.
Some output from the Python subprocess (pid 3694) might appear next.
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> >>>
OctSymPy: Communication established. SymPy v0.7.6.1.
>> sqrt(x)
ans = (sym)
___
╲╱ x
>> sqrt(1/x)
ans = (sym)
___
╱ 1
╱ ─
╲╱ x
>> 1/sqrt(x)
ans = (sym)
1
─────
___
╲╱ x
>>
This is different that what my command window actually looks like. I
attached a screen shot of what that looks like and you can see that the
radical symbol only shows the horizontal portion and not the complete
symbol. I am not sure why it shows up differently from a copy and paste.
Regards,
Eric