You are not logged in.

#26 2011-12-09 15:38:30

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

@stlarch
I have a few questions about your dwm setup:

- How did you get that layout icons in dwm? I tried using this font with icons:

static const Layout layouts[] = {
    // icon                                     symbol     arrange function
    { "/home/ok/build/dwm/icons/tile.xbm",     "þ",      ntile },
    { "/home/ok/build/dwm/icons/bstack.xbm",   "ü",      nbstack },
    { "/home/ok/build/dwm/icons/float.xbm",    "ý",      NULL },     // no layout function means floating behavior
    { "/home/ok/build/dwm/icons/monocle.xbm",  "ÿ",      monocle },
    { "/home/ok/build/dwm/icons/grid.xbm",     "ú",      imgrid },
};

But it works only if there's no opened windows. When I run something, it changes back to default dwm "icon".

- I assume you have hidden border if there's only one window. What patch are you using for that?

Last edited by OK100 (2011-12-09 15:48:35)

Offline

#27 2011-12-09 22:02:00

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

OK100 wrote:

@stlarch
I have a few questions about your dwm setup:

- How did you get that layout icons in dwm? I tried using this font with icons:

Here's what I have in my config.h:

static const char font[]            = "-*-termsyn.icons-medium-r-*-*-11-*-*-*-*-*-*-*";
static const Layout layouts[] = {
        /* symbol     arrange function */
        { "þ",        tile },    /* first entry is default */
        { "ý",        NULL },    /* no layout function means floating behavior */
        { "[M]",      monocle },
        { "ü",        bstack },
        { "û",        bstackhoriz },
};

And for the borders, I just use the same color as my background (black), because I like it like that. I don't use an icon for monocle (I like to see how many windows I have open).

Last edited by stlarch (2011-12-09 22:04:27)

Offline

#28 2011-12-10 21:34:01

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

Please can you add fan symbol to the 11pt? You have it already in tamsynmod (C7).

Offline

#29 2011-12-11 07:35:32

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

OK100 wrote:

Please can you add fan symbol to the 11pt? You have it already in tamsynmod (C7).

I have the 11pt done. The .pcf files are in my configs (termsyn-1.8) if you want to test it out for me. I have the updated icons and the ISO8859-2 character set (termsyn6x11r2.pcf and termsyn6x11b2.pcf). I should have the other sizes done in a few days and I'll update it then.

Offline

#30 2011-12-11 08:39:09

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

Awesome! Thank you. smile
I haven't found any problems so far.

Last edited by OK100 (2011-12-11 08:45:31)

Offline

#31 2011-12-13 21:51:29

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

Thanks OK100. Well, I did the ISO8859-2 set for the 7x12. It's in my configs (termsyn-1.8). The 7x12 was a mess. The 12 bold was a real mess. I think I straightened out everything now. It would be great if someone would test it out for me. It should be much better now. I should have the other sizes done in 2-3 days.

I also added more icons and changed some of the existing ones. I made some of them smaller. I think the smaller ones look nicer, but I left some of the bigger ones too. I also aligned everything that wasn't already, to the right. I think most people use a space between the icon and text and it should make everything more uniform I think. You can always edit your own if you don't like what I've done. Here's a screenshot of the new icons for the 11 and 12:

tYnE4bQ    tYnE4bg

It looks much better in my screenshot above as you can see, I think. I'll probably do all my font icons kinda like this. I already did terminusmod and I think it's better. You may have to adjust your scripts but I think this is the final position of the icons.  They might vary slightly by size but I'll post screenshots of all the sizes when I'm finished. I may add a couple more icons and get rid of the inverted exclamation and question marks, vertical bar and interpunct, but I'll keep the degree symbol and guillemets.

Last edited by stlarch (2011-12-13 21:58:02)

Offline

#32 2011-12-14 09:08:11

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

7x12 works too (at least characters I use smile). I think some of the new icons are too small (for example C2). Maybe you can add both sizes?

Last edited by OK100 (2011-12-14 10:21:57)

Offline

#33 2011-12-16 04:49:13

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

I finished the ISO8859-2 sets for all sizes and updated to 1.8. The aur is updated. I thought it was close before but other than the 11, it was pretty sloppy. I went through it carefully and tried to get it as perfect as I could for now. It should be much better. I pretty much finished the icons too. I did some small and some large. They probably won't satisfy everybody, but you can always edit them. I did the best I could with them. The icons for each size are a little different. Hope you like it and get some use out of it. I didn't do the .psf versions this time but I'll try for the next update. I think it's turning out pretty nice.

edit:see the post below for the screenshots of the icons

Last edited by stlarch (2011-12-17 19:15:49)

Offline

#34 2011-12-17 19:14:26

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

I went through it all again and cleaned up everything else that I could find that I missed before. A few things were bugging the shit out of me! I updated the aur to 1.8.2. I also added two icons to the 11, 12 and 14 and got rid of the up and down arrows and sideways arrows. Each size should have at least one variant of just about every icon.

tYnNjYg  tYnNjYw  tYnNjZQ  tYnNjZg  tYnNjZw

Last edited by stlarch (2011-12-17 19:22:36)

Offline

#35 2011-12-29 05:23:27

sunaku
Member
From: /dev/tty
Registered: 2010-09-29
Posts: 140
Website

Re: Termsyn Font

Hey stlarch, great work on this font.  I assume you assembled this by manually copying your preferred glyphs from each source font, correct?  Did you know this can be done programatically (for BDF versions of the fonts, anyway) in a script?  For instance, I already do this for my fork of Tamsyn v1.8.

If you could put together a simple table of which font you've chosen each glyph from, I could write a script for you.  Note that I'm not trying to insult your technical abilities by offering to do this; instead, it's just that I remember reading somewhere in one of your posts that you're "not a programmer".  Cheers.

Edit: Here is an example of the "simple table" I mentioned:

glyph,weight,font
A,medium,terminus
A,bold,tamsyn
a,medium,tamsyn
a,bold,tamsyn

Last edited by sunaku (2011-12-29 05:25:13)

Offline

#36 2011-12-30 07:32:49

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

Hey sunaku. Thanks, but it's pretty easy to copy all of the icons at once with gbdfed. It did take me a little while to figure that out though. (doooh!) I don't think I'll be doing too many more anyway, but thanks for the offer.

Anyway, I do have some good news. I was trying to do a 6x13 version of terminusmod but it failed. I just couldn't get it to work. But during that, I realized I could change it into a killer version of termsyn. I made the cap-height 8 and the x_height 6, so it's the same size as terminus 12 with a little more vertical spacing. Epic fail turns into something good. I did the ISO8859-1 and 2 sets with bold and of course sets with icons. I think you'll definitely want to check this one out. It's pretty great, if I do say so myself. The aur is updated. Here's a couple of screenshots:

tYno3Mg    tYno3NA

Edit: I just added a modded version to terminusmod 12 with most of the changes I did to termsyn 13 if you want the vertical spacing closer.

Last edited by stlarch (2011-12-30 20:54:45)

Offline

#37 2012-02-19 04:35:48

iv597
Member
From: United States
Registered: 2011-09-18
Posts: 96
Website

Re: Termsyn Font

Not to bug you, but another vote for a PSF here. Love this font in X, would love to use it on the FB big_smile


Currently running Arch on a Samsung Chromebook Pro (dual booted with ChromeOS), and various VPSes and Docker containers.

Dotfiles on Github

Offline

#38 2012-02-20 12:27:23

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

Thanks. I had it partially working a while back, but something wasn't right. I can't even remember exactly what I did now but it seemed like the line drawing part wasn't right. I use mc and it was mangling it. I'll try to give it another go. I would like to figure it out at least. I've been using fbterm in the console though lately, and it seems pretty awesome.

Offline

#39 2012-04-10 19:33:02

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Termsyn Font

does this font supports utf-8? looks very nice, only if it would have utf-8 encodings I'm going to replace my terminus for with it and don't look back again.

Offline

#40 2012-04-10 19:45:09

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

Thanks, it's just ISO8859-1 and 2 right now.

Offline

#41 2012-04-10 20:05:26

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Termsyn Font

stlarch wrote:

Thanks, it's just ISO8859-1 and 2 right now.

http://image.bayimg.com/jankiaadp.jpg

also, editing plain text file and doing "file example.txt" returns

[~]% file example.txt
example.txt: UTF-8 Unicode text

I'm a little bit confused right now. smile Anyway, I have replaced terminus with termsyn. Looks really, really awesome.

Last edited by falcongg (2012-04-10 20:06:48)

Offline

#42 2012-04-15 14:48:28

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

Is there any way to add icons to termsyn 6x11r2? It would be great to have icons along with 8859-2 characters in dwm bar. I already tried to copy all icons to positions 101-15F, but it didn't work.

Offline

#43 2012-04-15 17:27:48

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

You can try this for dwm and replace the examples he gave with the fonts you want. I haven't tried it myself as I never really needed it.

sunaku wrote:

    Here's a useful trick I discovered while making my DWM statusbar script:

    If you're using @stlarch's Tamsynmod font and also want to use some Unicode symbols that the default "fixed" font supports, then specify both fonts in your DWM font definition:

    static const char font[]            = "-*-tamsynmod-medium-r-*-*-14-*-*-*-*-*-*-*"
                                          ","
                                          "-*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*";

    Cheers.

Offline

#44 2012-04-15 17:37:46

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Termsyn Font

This didn't made any change sad
The problem is, that some characters I need are replaced with icons in your font. Here is how it looks:
tZGR4Zw

Offline

#45 2012-04-15 19:34:36

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

Hmm. It's not an ideal solution, I know. And clearly I have no idea what I'm doing. tongue I wish you could use xbm icons, it would be much better. Anyway, I think you can use \x80 - \x9F but I can't figure out how. Maybe ask bohoomil how he did it. I remember him using that in his font Scrpx. I'd like to know too.

Offline

#46 2012-04-24 23:29:38

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Termsyn Font

Could you please add arrows and rotated square to termsyn? transmission-remote-cli with terminus: http://i.imgur.com/Zph7d.png and with termsyn: http://i.imgur.com/WPNnn.png
Second thing I would like to ask about is iso-8859-2: I don't have "ąśćółżź" characters in bold version, these (or any other special characters like these) are not included in bold version?

Offline

#47 2012-04-25 13:25:08

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Termsyn Font

As for now, solution to my problem is adding a "catch-all" font at the end of URxvt.font list:

URxvt.font: -*-termsyn-medium-r-normal-*-11-*-*-*-*-*-*-*, -misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1
URxvt.boldFont: -*-termsyn-bold-r-normal-*-11-*-*-*-*-*-*-*, -misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1

which gives you http://i.imgur.com/cVDfF.png which is not a greatest solution, but looks way better then going only with termsyn _without_ setting a font for utf-8 characters.

Cheers,
falcon

Last edited by falcongg (2012-04-25 13:34:40)

Offline

#48 2012-04-25 17:00:03

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Termsyn Font

@falcongg, maybe check your locale settings? Like I said, I really don't know what I'm doing. I started making these because I wanted the icons for my status bar and bold for smaller sizes and got a little carried away. tongue I'll try to look into it and see if I can figure some more out about it. You can get gbdfed and pcf2bdf from the aur and try to modify it yourself too.

Offline

#49 2012-04-25 17:53:17

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Termsyn Font

stlarch wrote:

You can get gbdfed and pcf2bdf from the aur and try to modify it yourself too.

Just to add: it is really easy! Even I could do it and have modified the layout symbols.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#50 2012-04-25 22:38:10

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Termsyn Font

okay, so I have tried it.

as first, stlarch was right. I just needed to select iso8859-2 at the end of font name in .Xresorces to get bold ąśćółżź etc.
I have also tried to add upper (2191) and lower arrow (2193) to termsyn6x11r2.pcf and termsyn6x11b2.pcf without a success, this is what I get in xfontsel http://i.imgur.com/EVO6B.png
I just did pcf2bdf, opened it and edited with gbdfed, saved, and then bdftopcf, copied new .pcf fonts to /usr/share/fonts/local and also I've ran mkfontdir and mkfontscale. Didn't help. Will you try to develop this font a litte bit more? smile

Last edited by falcongg (2012-04-25 22:40:16)

Offline

Board footer

Powered by FluxBB