ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Jibz's Tools

Dina programming font for X11 use

(1/2) > >>

bpcw001:
Hi,

recently came across the Dina programming font and for me it's the best font
for coding ever.
It is perfect for Windows, however, I'm using Linux and would like to to ask
if there is any way to make this beautiful font work in X11 and KDE/Gnome.

AFAIK, X11 does not handle Windows .FON files.
Could you point me in some direction as to how to make Dina available on X11/KDE/Gnome?

Thank you

bpcw

bpcw001:
Hi,

just wanted to share with you that I've started messing around with Dina.FON in Linux.
With fnt2bdf (from Wine) I was able to create the .BDF files corresponding to each size and weight provided by Dina.FON

After that, I converted the BDF files with bdftopcf to obtain .PCF files for use with X.

However, something goes awry here since, while I can see the .PCF font in X itself, it does not show up font selection
dialogs of KDE or Gnome. And this is the case because fontconfig does not pick those fonts up.

I read somewhere that fontconfig will pick up bitmapped fonts only if they are encoded either iso8859 or iso10646.

Well, Dina has Windows encoding, so I tried to reencode the .BDFs to iso8859 with fontforge before converting them to .PCF, but fontconfig still doesn't pick up Dina.

I also tried to let fontconfig just pick up the .BDF file. Then, Dina shows up in Gnome's or KDE's font selection dialogs, but the font that is then actually chosen
is not Dina, but some monospace substitute.


I can use other bitmapped fonts (like Clean) in X, KDE and Gnome without any problems.

Anybody has an idea ??

Thanks

bpcw001

mouser:
I don't have any idea to help, but i am very interested in any solution you find.. Please keep us informed.
Jibz is a very nice guy, maybe send him an email and ask him for some help -- it's been too long since he stopped by!

bpcw001:
Hi,

thanks for your response.
I'll definitely post a solution to using Dina with Linux if I ever manage to find one, but the situation looks pretty bleak right now  :(
Unfortunately, my knowledge of font internals in general and Linux font specials (X font system, fontconfig etc) is quite limited.

So, I might actually contact Jibz in order to get some qualified input.

bpcw001


Jibz:
A while back I received the attached conversions for X11 and Mac, kindly contributed by Jamie Burns.

I was planning on including them in the package, but was hoping to find a reliable way to perform the conversion myself to make future updates easier -- but like you without much luck.

Navigation

[0] Message Index

[#] Next page

Go to full version