Closed
Bug 112435
Opened 23 years ago
Closed 21 years ago
Need Motif with fixed width font
Categories
(Other Applications :: ChatZilla, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: rginda)
Details
Attachments
(3 files)
2.37 KB,
application/x-zip-compressed
|
Details | |
3.38 KB,
patch
|
rginda
:
review+
|
Details | Diff | Splinter Review |
26.13 KB,
patch
|
rginda
:
review+
|
Details | Diff | Splinter Review |
Sometimes people post ascii art to irc channels, and it comes through all
screwed up when viewing the chat with a proportional font. Having some way to
toggle between a fixed width/proportional font would be nice, or just add a
fixed width motif in the view menu.
Assignee | ||
Comment 1•23 years ago
|
||
This could be done with the highlight menu, if only the css code didn't write to
memory it didn't own.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 2•23 years ago
|
||
Hm... Just adding fixed versions of the default motifs which are shipped with
ChatZilla doesn't seem to be a problem. I have created the attached
default-fixed, dark-fixed, and light-fixed versions in just about 5 minutes. ;)
(Though I must add that the font size is currently fixed to 10pt, somehow
ChatZilla didn't accept my first attempt, which was just to use "font-style:
courier !important;" instead... *shrug*)
The bigger problem might be how to select these motifs? Though this is a
general problem: there is a bug (don't have the number at hand right now) which
deals with the ability to select any motif via menu or preferences or so...
But for now, one can easily select one of the attached motifs via the /css
command.
Please tell me if something is generally wrong with these motifs! Thanks!
Bye, daniel :)
Comment 3•23 years ago
|
||
Ups, sorry for the spam.
I have just found out that using "font-family: monospace !important;" does the
trick, even without the need of specifying a certain size.
/me smacks himself on the back of his head
Silly me. I should have looked up the CSS properties first instead of just
looking at the other motifs and trying out what works... *grin*
bye, daniel :)
![]() |
||
Comment 4•23 years ago
|
||
You could also do "font-family: -moz-fixed;" and not specify a size. That will
use whatever family and size Mozilla has set as the preferred fixed-width font
in font prefs.
Comment 5•21 years ago
|
||
This makes the fonts match the user's browser font settings. I'll follow up
with the patch that adds menu items/shortcut keys/commands to control fonts in
a bit.
Updated•21 years ago
|
Attachment #139630 -
Flags: review?(rginda)
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 139630 [details] [diff] [review]
Removes font sizes from motifs
r=rginda
Attachment #139630 -
Flags: review?(rginda) → review+
Comment 7•21 years ago
|
||
Comment on attachment 139630 [details] [diff] [review]
Removes font sizes from motifs
Checked in.
Comment 8•21 years ago
|
||
This adds font.family and font.size as prefs for each view (inherited client ->
network -> channel/user). Commands are /font-size and /font-family. Menus added
to the Vuew menu, just below the motifs item, and include bigger/smaller
shortcut keys.
Updated•21 years ago
|
Attachment #139680 -
Flags: review?(rginda)
Comment 9•21 years ago
|
||
This is looking pretty good (I'm using 0.9.58p).
One thing I noticed is that monospaced text between |vertical bars| doesn't
actually become monospace any more, although the spacing goes screwy.
(and also an irrelevant thing that doesn't belong here - in the global prefs
tab, under "log these view types", logging is written as "loging")
Assignee | ||
Comment 10•21 years ago
|
||
Comment on attachment 139680 [details] [diff] [review]
Adds prefs, menus and commands for fonts.
A comment explaining font-size-bigger2 would be helpful. Otherwise, it looks
unbelievably straightforward to me, strong work.
r=rginda
Attachment #139680 -
Flags: review?(rginda) → review+
Comment 11•21 years ago
|
||
Comment on attachment 139680 [details] [diff] [review]
Adds prefs, menus and commands for fonts.
Checked in, with comment about font-size-bigger2, and cmdFont set to change
global prefs not current view's. Default font family set to "lucida,
sans-serif".
Updated•21 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Other Applications
You need to log in
before you can comment on or make changes to this bug.
Description
•