topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 10, 2020, 12:47 am
  • Proudly celebrating 15 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tartley [ switch to compact view ]

Pages: [1]
1
The results of my conversion, Dina as an OTF, are posted here: https://www.tartley.com/dina-as-otf


2
> this makes me want to re-check my output from fontforge...

YES! Done, and the fontforge output is visible in gnome-terminal, even though it looks invisible in font selection dialogs. Not ideal, but workable. I updated my fontforge post above to reflect what's actually going on.

Dina on Linux is BACK! :-)


3
Using somebody's TTF conversion of Dina from here works pretty well:
https://sites.google...ckard234/filecabinet

Problems are:
* It's a version of Dina from March 2010
* Although Dina shows up fine in my terminal, at all sizes, with italics and bold, for some reason the font is invisible in font-selection dialogs, so you have to click blindly on empty spaces to select it.

That makes me want to re-check my output from fontforge, above. Maybe that was blank in the font selection dialog but would have rendered ok in my terminal app? to be continued...

4
Tried using GUI app FontForge, using the instructions in this comment:
https://gitlab.gnome...sues/386#note_570411

UPDATE: All Dina characters come out invisible in font selection dialogs, but if you click around blindly to select a Dina font, then everything displays just fine in gnome-terminal. (this behavior seems to apply regardless if I run fontforge on the Dina?.fon files, or the BDFs.)

Hooray, a victory! This is the best option as far as I can tell.

UPDATE2: I posted the output of my conversion here: https://www.tartley.com/dina-as-otf

5
Tried fonttosfnt again with Dina v2.93, same results. Smallest size is available (and looks perfect.) Next size up is available, but looks too bold. No other sizes are available.

I tried just installing the output I get from converting DinaR.fon (instead of from all four files.) I expected this to give me the "regular" font in all sizes. Instead it gave me regular, italic, bold, and bold italic, all in size 6. This sounds like a clue that I don't understand what I'm doing.

6
Jibz's Tools / dina download page still links to v2.92 (not v2.93)
« on: February 05, 2020, 11:35 AM »
Hi,

My google for dina font sends me to:

http://www.dcmembers.../jibsen/download/61/

which still links to v2.92, not the newer v2.93.

Best,

    Jonathan

7
A component used in Linux font rendering called "Pango" has intentionally dropped support for bitmap font formats.
See their issue thread about it here for details of why: https://gitlab.gnome...OME/pango/issues/386
Short version is, they want to delete a lot of nasty old code and use some other component, which will allow them to get past some otherwise unsolvable problems. Unfortunately bitmap support is lost in this new design.

This version of Pango is making its way into Linux distributions like Ubuntu "Focal" (for release March 2020) I think it is already released in Arch.
The upshot is all bitmap fonts appear as 'tofu' (boxes of hex digits).

I filed a bug against Ubuntu's Focal release: https://bugs.launchp...ango1.0/+bug/1861340
and I chatted with Canonical staff (I'm a Canonical employee) who told me there isn't much they can do. They don't have the resources available to do much other than go along with whatever the upstream Pango devs decide to do.

All hope is not lost for Linux Dina users! They will still support bitmaps that are packaged up as a "Vector format which contains embedded bitmaps." People report some success converting other bitmap fonts using various tools. I say "some" success, because bitmap font users are upset that the output has ugly problems such as such as spacing between characters, and everyone else doesn't really care, which is saddening. But in my experiments (below), these problems didn't manifest for Dina, possibly because it is monospace.

I have tried:

1. GUI app FontForge. I tried installing this to do the conversion on Dina, I infer from the conversation linked above that one needs to use the dialog produced by the 'File / generate' menu option, but I am totally unable to understand the UI of its many dozens of options.

2. Command line app fonttosfnt. Using an invocation like:
    fonttosfnt -v -r -b -c -g 2 -m 2 -o DinaR.otb DinaR.fon

I then did my normal font install process (copy the resulting otb file to my ~/.fonts/dina directory, and ran 'fc-cache -f')

This produced a useable Dina font! However it isn't quite right. Only two of the smaller sizes are visible, and the 'regular' font seems significantly heavier than I expect, as though it were 'bold' and the bold were 'double bold'. I don't yet know why. I just realized I'm only using v2.92 of Dina, I'll try again with the latest release (v2.93) and report back any successes.

Also, I tried an identical fonttosfnt invocation on Dina's BDF files, but that gives me an error "Couldn't select character map: 6".

Fare thee well, fellow bitmap officionados,

8
Jibz's Tools / Re: Dina font in size 7, 6.5 or 6 ?
« on: August 23, 2013, 03:54 AM »
Looking GREAT! Excited!

9
Jibz's Tools / Re: Dina font in size 7, 6.5 or 6 ?
« on: August 20, 2013, 05:20 AM »
Hooray! This makes me very happy to hear.

FWIW, I'm sure you're already very aware of things like this, but one requirement I'd really like is to preserve the visible distinction between '(' and '{'. In Terminus, for example, they are only a pixel or two different, but in Dina they are really distinct, which is great.

10
Jibz's Tools / Re: Dina font in size 7, 6.5 or 6 ?
« on: July 25, 2013, 09:49 AM »
I agree. I appreciate it's a lot of work, but just for the record, if anyone was interested (or interested in showing me how?) then I'd be keen. I think Dina would be the best programming font, but using Terminus I can get 3 80 columns terminals/editors side-by-side, but with Dina I cannot.

I might research how to edit the .fon files myself. Any pointers are welcome.

Pages: [1]