Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  [App] Rockbox Font Convertor [Windows]
« previous next »
  • Print
Pages: 1 2 3 [4] 5

Author Topic: [App] Rockbox Font Convertor [Windows]  (Read 35693 times)

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: [App] Rockbox Font Convertor [Windows]
« Reply #45 on: March 04, 2007, 02:52:23 PM »
You don't need the square brackets. In the standard notation of the syntax for command line operations, showing an item in square brackets means it is optional.

E.g., Command Line syntax: makefont [font size] filename1 [filename2 filename3 ...]

means that only a single filename is mandatory, both the font size and additional filenames are optional.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline delorean90

  • Member
  • *
  • Posts: 104
  • My iriver is dead
    • My Myspace
Re: [App] Rockbox Font Convertor [Windows]
« Reply #46 on: March 04, 2007, 07:22:45 PM »
Thanks i finaly have it now, i apreciate the help
Logged
Proud owner of a sansa view 16gb, fingers crossed for a rockbox port :)

Offline iwantanimac

  • Member
  • *
  • Posts: 42
  • Rockbox <3er.
    • GSh Blog
Re: [App] Rockbox Font Convertor [Windows]
« Reply #47 on: March 05, 2007, 01:26:30 AM »
Sorry if it wasn't very obvious... i didnt even use the notation correctly... =P

Will be fixed... just need time.

EDIT: The new version should be finished within a couple hours. I have more homework to finish.

EDIT: Sorry, i've been having problems. The current development version (What I've accomplished so far) is available at the follwing URL - It probably works, i just haven't finished/Tested it myself.
http://rockbox.biniaris.net/Files/imac/FontConvertor-unzipped/makefont.bat

There's some extra details (And a kinda sorta changelog) at

http://rockbox.biniaris.net/Files/imac/FontConvertor-unzipped/info.txt

And i think the links are now broken, so ill be fixing that soon.
« Last Edit: March 08, 2007, 07:57:53 AM by iwantanimac »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: [App] Rockbox Font Convertor [Windows]
« Reply #48 on: March 08, 2007, 09:42:13 AM »
I've knocked another thing off your To Do list for the 1.2 version ;)

The attached batch file code checks for native .bdf font types and automatically skips the otf/ttf>bdf conversion step.

So you can now drag and drop a mixed bunch of .ttf, .otf and .bdf fonts onto makefont.bat and it will automagically convert them all to Rockbox .fnt format...

[attachment deleted by admin, too old]
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline iwantanimac

  • Member
  • *
  • Posts: 42
  • Rockbox <3er.
    • GSh Blog
Re: [App] Rockbox Font Convertor [Windows]
« Reply #49 on: March 09, 2007, 06:22:19 AM »
Argh! Just as i get ready to release 1.1, you come along and do... this.

You're too fast!  :D

Oh well.. i have a tad less hacking to do now...  ;D

Thanks a bunch for your help.
Logged

Offline RowaN

  • Member
  • *
  • Posts: 90
Re: [App] Rockbox Font Convertor [Windows]
« Reply #50 on: March 11, 2007, 07:52:07 PM »
It crashes when I try to convert my favourite font:

http://rapidshare.com/files/20589720/P0T-NOOD.ttf.html

Any ideas? Many thanks.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: [App] Rockbox Font Convertor [Windows]
« Reply #51 on: March 12, 2007, 05:10:19 AM »
Quote from: RowaN on March 11, 2007, 07:52:07 PM
Any ideas? Many thanks.

1. I can't get at you rapidshare file, it keeps telling me 'download session invalid'. This could be a corporate firewall problem on my side...

2. Are you using the 1.1 release version, or my latest attachment?

3. Exactly how are you trying to convert it? What do you mean by a 'crash'? Have you made a proper .bat file? Do you get any error messages?

etc., etc., ...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline iwantanimac

  • Member
  • *
  • Posts: 42
  • Rockbox <3er.
    • GSh Blog
Re: [App] Rockbox Font Convertor [Windows]
« Reply #52 on: March 12, 2007, 08:02:57 AM »
I tested that font and the download works fine.

As for converting, i see what you mean. otf2BDF crashes out.

No idea why, but that font file looks corrupt to begin with. You sure the font is okay?

And i have no control over that... ill check if there's a new version of OTF2BDF, but i doubt it. - I didn't code the programs used, just tied them together.

EDIT: No, there's no update... ill have to research why it doesn't work... -v here we come...

EDIT2: Okay, well i tested it with the -v switch and got this:
Quote from: Command Prompt
otf2bdf: no character map for platform -1 encoding -1.  Generating all glyphs.
Anyone got any ideas?
« Last Edit: March 12, 2007, 08:09:41 AM by iwantanimac »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: [App] Rockbox Font Convertor [Windows]
« Reply #53 on: March 12, 2007, 11:48:03 AM »
Not any specific ideas, but it definitely looks like the .ttf is broken not compliant with the TrueType font standard somehow...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: [App] Rockbox Font Convertor [Windows]
« Reply #54 on: March 12, 2007, 12:17:41 PM »
For those who can read code, that particular error message is located at line 1115 in the source code:

http://209.85.135.104/search?q=cache:1_C4EqigK_EJ:darwingrok.physics.ox.ac.uk:8080/source/s%3Fpath%3Dttf2bdf.c+ttf2bdf:+no+character+map+for+platform+-1+encoding+-1&hl=en&ct=clnk&cd=1
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline RowaN

  • Member
  • *
  • Posts: 90
Re: [App] Rockbox Font Convertor [Windows]
« Reply #55 on: March 12, 2007, 06:06:38 PM »
Thanks for looking into this guys. Its a sorta homemade TTF from an "oldskewl" bbs font so i wouldnt be suprised if as bascule has said, its not a 100% compliant TTF file. I dont think it scales like a TTF should (its not meant to anyway..), its just got a fixed size within it. Here is how it should look. for those interested:
« Last Edit: March 12, 2007, 07:32:51 PM by RowaN »
Logged

Offline iwantanimac

  • Member
  • *
  • Posts: 42
  • Rockbox <3er.
    • GSh Blog
Re: [App] Rockbox Font Convertor [Windows]
« Reply #56 on: March 13, 2007, 06:56:16 AM »
the font looks cool... only it doesn't seem to be fully compatible.

Sorry about that!
Logged

Offline iwantanimac

  • Member
  • *
  • Posts: 42
  • Rockbox <3er.
    • GSh Blog
Re: [App] Rockbox Font Convertor [Windows]
« Reply #57 on: March 20, 2007, 07:38:56 AM »
Sorry i've not updated in a while guys. The code listed in the post up a few is basically the same as what the final release of the new version will be. I am going to be prettying up some of the ASCII now... something relevant yet interesting.

So update soon. If you can't wait, functionally it's all there in the above version.

EDIT: Here's what the new header is going to look like now:
Code: [Select]
/----------------------------------------------------------------------------\
 :::::::::   ::::::::   ::::::::  :::    ::: :::::::::   ::::::::  :::    :::
 :+:    :+: :+:    :+: :+:    :+: :+:   :+:  :+:    :+: :+:    :+: :+:    :+:
 +:+    +:+ +:+    +:+ +:+        +:+  +:+   +:+    +:+ +:+    +:+  +:+  +:+
 +#++:++#:  +#+    +:+ +#+        +#++:++    +#++:++#+  +#+    +:+   +#++:+
 +#+    +#+ +#+    +#+ +#+        +#+  +#+   +#+    +#+ +#+    +#+  +#+  +#+
 #+#    #+# #+#    #+# #+#    #+# #+#   #+#  #+#    #+# #+#    #+# #+#    #+#
 ###    ###  ########   ########  ###    ### #########   ########  ###    ###
      F    O    N    T         C    O    N    V    E    R    T    O    R
\----------------------------------------------------------------------------/

Comments? Hate it? Love it? Have a better idea? Please, comment away!

I would've used
Code: [Select]
__________               __   ___.                
\______   \ ____   ____ |  | _\_ |__   _______  ___
 |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 |    |   (  <_> )  \___|    < | \_\ (  <_> >    <
 |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
        \/            \/     \/    \/            \/

But .bat files don't like |s for some reason.
« Last Edit: March 20, 2007, 07:52:18 AM by iwantanimac »
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: [App] Rockbox Font Convertor [Windows]
« Reply #58 on: March 20, 2007, 07:31:48 PM »
I know this is a little off topic, but I was wondering if it's possible to get this to run under linux? ( I've just started running kubuntu, hoping I can run Linux as my primary OS and I don't want to boot to windows just to make fonts)

Thanks ;)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: [App] Rockbox Font Convertor [Windows]
« Reply #59 on: March 20, 2007, 09:13:07 PM »
All this is is a batch file for running two programs, one of which is included in the Rockbox tools. The other is this: http://crl.nmsu.edu/~mleisher/ttf2bdf.html

For a linux user, you should be able to knock together something that'll run the both of them on a file. This batch is mainly for windows users to be able to drag and drop, and the original descriptiong of it was even "So you don't have to remember the names of two programs"
Logged

  • Print
Pages: 1 2 3 [4] 5
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  [App] Rockbox Font Convertor [Windows]
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.152 seconds with 21 queries.