Fonts in sage-4.3.1

54 views
Skip to first unread message

Marshall Hampton

unread,
Jan 31, 2010, 11:02:51 PM1/31/10
to sage-notebook
Hi,

I've been trying to find any discussion about the font changes in
sage-4.3.1, but I haven't seen any. I am not talking about jsmath
fonts, just what is used for text in various places in the notebook.

The following screenshots illustrate most of what I am interested in:

http://www.d.umn.edu/~mhampton/sage-4.3.1.png
http://www.d.umn.edu/~mhampton/sage-4.3.png

(These are from different notebooks but the differences are still
clear, for example the controls on the top.)

I strongly dislike whatever the new font is that is being used. If
there was some discussion about the change, I would appreciate a
pointer to it. Since I can't easily find one, I am wondering if this
was an accidental by-product of some other change.

Best regards,
Marshall Hampton

Pat LeSmithe

unread,
Feb 1, 2010, 2:05:05 AM2/1/10
to sage-n...@googlegroups.com
On 01/31/2010 08:02 PM, Marshall Hampton wrote:
> I strongly dislike whatever the new font is that is being used. If
> there was some discussion about the change, I would appreciate a
> pointer to it. Since I can't easily find one, I am wondering if this
> was an accidental by-product of some other change.

http://trac.sagemath.org/sage_trac/ticket/8141

Dan Drake

unread,
Feb 1, 2010, 3:08:58 AM2/1/10
to sage-n...@googlegroups.com

I'm glad someone brought this up. I'm no fan of the font used for "New
Worksheet / Upload" and "Active Worksheets" in Marshall's 4.3.1
screenshot. The same things look fine in Firefox on Ubuntu. In Firefox
and Chrome on Windows, they look a bit pixely and poorly scaled; in IE8
they look okay.

Wasn't there a site that would take a URL and give you back images of
how the URL rendered in different browser / OS combinations?

Dan

--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------

signature.asc

Tim Joseph Dumol

unread,
Feb 1, 2010, 5:11:37 AM2/1/10
to sage-n...@googlegroups.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktmjBoACgkQr4V8SljC5LpJZwCg0uN6fl5NmLX5p5oxuI6PSLqA
Nz8AnA9eBGah6/8tPvUB+wZk/g6rghme
=gm3X
-----END PGP SIGNATURE-----


Woops. Yep, it's from one of my patches (#7786, I believe). I copy-pasted the font stacks from my old project, and I forgot to update them to SageNB's old stack. Sorry!

--
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com

Marshall Hampton

unread,
Feb 1, 2010, 8:00:38 AM2/1/10
to sage-notebook
OK, great, thanks. I had trouble applying #8141 to sage-4.3.1, so
maybe I am missing something in between, but by editing .sage/
notebook.css I can alleviate the problem.

So it appears that the fonts will be reverted in sage-4.3.2 if I
understand things correctly. Thanks for your responses!

-Marshall

On Feb 1, 4:11 am, Tim Joseph Dumol <t...@timdumol.com> wrote:
> On Mon, Feb 1, 2010 at 4:08 PM, Dan Drake <dr...@kaist.edu> wrote:
> > On Sun, 31 Jan 2010 at 11:05PM -0800, Pat LeSmithe wrote:
> > > On 01/31/2010 08:02 PM, Marshall Hampton wrote:
> > > > I strongly dislike whatever the new font is that is being used. If
> > > > there was some discussion about the change, I would appreciate a
> > > > pointer to it. Since I can't easily find one, I am wondering if this
> > > > was an accidental by-product of some other change.
>
> > >http://trac.sagemath.org/sage_trac/ticket/8141
>
> > I'm glad someone brought this up. I'm no fan of the font used for "New
> > Worksheet / Upload" and "Active Worksheets" in Marshall's 4.3.1
> > screenshot. The same things look fine in Firefox on Ubuntu. In Firefox
> > and Chrome on Windows, they look a bit pixely and poorly scaled; in IE8
> > they look okay.
>
> > Wasn't there a site that would take a URL and give you back images of
> > how the URL rendered in different browser / OS combinations?
>
> > Dan
>
> > --
> > --- Dan Drake

> > ----- http://mathsci.kaist.ac.kr/~drake<http://mathsci.kaist.ac.kr/%7Edrake>

Harald Schilly

unread,
Feb 1, 2010, 9:04:04 AM2/1/10
to sage-n...@googlegroups.com
On Mon, Feb 1, 2010 at 14:00, Marshall Hampton <hamp...@gmail.com> wrote:
> So it appears that the fonts will be reverted in sage-4.3.2 if I
> understand things correctly.

But please a sans-serif (I simply prefer "sans-serif" ;) ) font, not a
serif one as it was in <= 4.3!

H

William Stein

unread,
Feb 1, 2010, 1:23:50 PM2/1/10
to sage-notebook
2010/2/1 Harald Schilly <harald....@gmail.com>:

I think we should revert back to exactly what we had in 4.3. Then
make new ticket(s) for any changes. E.g., I personally like the
serif font by default for tinymce headers, etc., and have been annoyed
they vanished.

William

Jason Grout

unread,
Feb 2, 2010, 12:51:34 AM2/2/10
to sage-n...@googlegroups.com


I strongly prefer the serif fonts too. Serif fonts are supposed to be
easier to read anyways (the serifs give subtle clues that make it much
easier to read the characters at a glance), especially at smaller font
sizes. At least, that's what I've read when I've studied up a bit on
typography, and also matches my personal preference and experience.

I think any large style change like the style of fonts ought to be
either brought up for a vote, or just made an option (with the status
quo being the default).

Thanks,

Jason

--
--
Jason Grout

Harald Schilly

unread,
Feb 2, 2010, 5:31:44 AM2/2/10
to sage-n...@googlegroups.com
On Tue, Feb 2, 2010 at 06:51, Jason Grout <jason...@creativetrax.com> wrote:
> I strongly prefer the serif fonts too.  Serif fonts are supposed to be
> easier to read anyways ...

Depends, typography says that serifs only help if you have a longer
text with several lines to read it more fluently. The reason is that
the serifs form two horizontal lines if you blur it. That helps the
brain to know where the line of text is and avoids unintentional
jumping between the lines. The menu at the top and code entries are
totally different. There you need visual clues (like "|") and the
ability to quickly read short strings. The visual recognition needs
longer to adapt to the words if they are with serifs, especially when
the font size is smaller. Thats also the reason why all websites
prefer them (look at any of the top 10) and modern typographic prints
and magazines always use sans-serif for headers and short texts in
boxes.

H

Pat LeSmithe

unread,
Feb 4, 2010, 8:33:16 AM2/4/10
to sage-n...@googlegroups.com
On 02/01/2010 05:00 AM, Marshall Hampton wrote:
> OK, great, thanks. I had trouble applying #8141 to sage-4.3.1, so
> maybe I am missing something in between, but by editing .sage/
> notebook.css I can alleviate the problem.

To test #8141, I suggest getting the latest SageNB spkg at #8051

http://trac.sagemath.org/sage_trac/ticket/8051

Then,

tar jxvf sagenb-<VER>.spkg
cd sagenb-<VER>/src/sagenb
hg qimport
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/8141/trac_8141-font_stacks.patch
hg qpush
make develop # or make install

and start the notebook. To revert to the version bundled with 4.3.2.rc0, do

sage -f $SAGE_ROOT/spkg/standard/sagenb-0.6.spkg

or, if you're using a binary Sage distribution,

sage -f
http://boxen.math.washington.edu/home/mvngu/release/upgrade/sage-4.3.2.rc0/spkg/standard/sagenb-0.6.spkg

Marshall Hampton

unread,
Feb 25, 2010, 4:37:50 PM2/25/10
to sage-notebook
Using the new version of the patch worked for me. Thanks for your
help. I will test a little more and then give 8141 a positive review.

-Marshall

On Feb 4, 7:33 am, Pat LeSmithe <qed...@gmail.com> wrote:
> On 02/01/2010 05:00 AM, Marshall Hampton wrote:
>
> > OK, great, thanks. I had trouble applying #8141 to sage-4.3.1, so
> > maybe I am missing something in between, but by editing .sage/
> > notebook.css I can alleviate the problem.
>
> To test #8141, I suggest getting the latest SageNB spkg at #8051
>
> http://trac.sagemath.org/sage_trac/ticket/8051
>
> Then,
>
> tar jxvf sagenb-<VER>.spkg
> cd sagenb-<VER>/src/sagenb

> hg qimporthttp://trac.sagemath.org/sage_trac/raw-attachment/ticket/8141/trac_81...


> hg qpush
> make develop # or make install
>
> and start the notebook. To revert to the version bundled with 4.3.2.rc0, do
>
> sage -f $SAGE_ROOT/spkg/standard/sagenb-0.6.spkg
>
> or, if you're using a binary Sage distribution,
>

> sage -fhttp://boxen.math.washington.edu/home/mvngu/release/upgrade/sage-4.3....

Reply all
Reply to author
Forward
0 new messages