YOUR ACCOUNT

Messages 1 - 45 of 77
First | Prev. | 1 2 | Next | Last 
Login or Register to post new topics or replies
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
This comes from this other thread

http://filterforge.com/forum/read.php?FID=10&TID=9488

Quote
Rod_D wrote:

I can create some PHF fonts with these!

I create PHF fonts for a plugin for Photo Shop "PhotoFont Start" (which i use in Gimp).
Otherwise known as "Photo Fonts". These are also a image font type.

http://www.gimpchat.com/viewtopic.php...photofonts

So if you want a particular font (PHF) created fr om images just tell me wh ere to get the images and i will create them for you.

The photofont file format specification is publicly available. It is based on open standards such as XML and PNG.



Please Rod_D, how do you make the PHF Photofonts ?

Do you use the Bitfonter software ?

In this page that tells you HOW to make your own Photofonts put that the only way is this one

http://www.photofont.com/photofont/make/
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Please, do you know any other alternative cheaper to this "Bitfonter" software? smile:?:

Because I will not pay 499$ for this software.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
I have tried it but I do not know how to do it
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
There are as far as i know only 2 softwares that can do it.
BitFonter which i use, or
CoffeeCups old Photo Objects program which comes with PhotoFont maker(which is no longer supported by CoffeCup software comp.).
I did notify Hemera (BMSoftware) to see if the software was still available.I am waiting for a reply. smile:)
That software however only places a texture inside the font outlines.It does not allow you to create a font from the image (which BitFonter does with alpha support).

You can do that with any texture and Gimp, or Photo Shop. smile:)

Sorry but if you want to make these kinds of fonts without just filling in the outlines you need BitFonter.This is why i suggested letting me do them for you.
If you can get the high res images of the letters i can create them into PHF for you or anyone else.
Rod
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
Rod_D Wrote..
CoffeeCups old Photo Objects program which comes with PhotoFont maker(which is no longer supported by CoffeCup software comp.).

I don't even like that company as of 2005 so I never mention them to anyone smile;) smile:)
Reasons I can't mention here in a public form..... smile:| smile:(
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
In that case Rob, can you recommend a tutprial on how to make PHF files using the BitFonter?
I saw some of your PHF fonts that you uploaded in a forum and I understand you had a bit of trial and error making those. Would love to learn fr om your experience.

And to all those asking if I coughed up $500 for this, no, I just happen to know a school near where I live that has all the graphics software I can think of installed on their computers and I can use the computers from time to time.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
I will download the 30 days trial of Bitfonter and see how it works and how can this photofonts bemade.

At least I can have these 30 days to do something, as I will not buy it at that price.

Please Rod_D, any advice when creating the PHF files for the Photofonts ?

How much time do you take to make a Photofont ?

How do you prepare the images for making the Photofonts ?

Thanks very much
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
They are very easy to make in Bitfonter.
One thing you should know is the Trial version will deform or distort half your font glyphs.
Here is kind of an image example rundown on how to do it.
First create a letter.I usually create mine in Xara, PS, or Gimp
Sometimes a variety of all 3. smile:)
Create all your letters first one per image.
I will use one of my own i created (the A) for this example tutorial.


Okay assuming all your letters are finished and ready to go into a font -
Open Bitfonter
Go to File>New>Font
Put in these values

Select create - you get your new font - be sure and remember where the A location is.In this case number 0041.


Now go to File>Open and open your image.


Now go to Image>Place into font and this will pop up.


Select ok - The font is placed into the font table at that unicode number or 0041.

close the A image and select NO to NOT save changes to it.


That's about it. Create all your letters and symbols this way.You will want to adjust vertical offset for symbols.Things like hyphens and periods.
Then save as PHF and load or install into the 8bf filter (i use Gimp as my host for this).



And there you go. smile:)


Hope that helps.
Rod
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
Rod_D wrote:

They are very easy to make in Bitfonter.


Good news smile:)

Quote
Rod_D wrote:
One thing you should know is the Trial version will deform or distort half your font glyphs.


smile:( smile:cry: VERY BAD NEWS smile:( smile:cry:

Quote
Rod_D wrote:
Here is kind of an image example rundown on how to do it.


Thanks very much for making this tutorial and for helping us learn to create this PHF Photofonts.
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
I actually found a blog where someone created a Lisp script to create PHF files from just an image directory.
I am going to run this by some friends at Gimp Chat and see what they think.
Lisp seems to be a very close relative of SCM language that Gimp uses.
Here is the link - http://blog.matroid.org/display/63
Rod
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
WOW, this is very interesting and useful, and very good smile:) BUT only for the ones THAT KNOWS HOW TO USE IT smile:D
as I am sorry but I am not a programmer and do not know how to use this script, so I can´t use it.
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
I tried to use it with and without the same images in the script.Didn't work.I ran it by Ofnuts a very, very talented PATH plug-in developer for Python-Fu plugins for Gimp. Here is his link to his site - http://gimp-path-tools.sourceforge.net/index.shtml

I essentially asked him to create a Python plug-in for Gimp that will import a set of image files (PNG), and convert those layers into a PHF and export that file (PHF) back to the same directory. smile:)

I will wait and see if he can help us out. smile:)

Get set to do some rain dancing so he will set in his office and write...otherwise he will go outside and take pictures. lol

Meanwhile if anyone else would like to hack at the Lisp code here it is.

Code
;;; photofont.lisp - A program to generate photofonts
;;; Dec 5, 2008 by Max-Gerd Retzlaff <m.retzlaff@gmx.net>
;;; Version 1
;;;
;;; See http://www.photofont.com/ for more information.
;;; The "Photofont format specification" is here:
;;;                     http://www.photofont.com/photofont/devel/
;;;
;;; Example call:
;;;   (photofont "Teelichter256" "font-spec-256" "Teelichter256.phf" :indent nil)
;;;
;;; The font-spec file is expected to contain lines like this one:
;;; ! Teelichter-256/!_dscf5475.jpg.png
;;; (single character, a single space, filename with relative path, newline character)  

(require :xmls)
(require :cl-mime)
(require :s-base64)
(require :png) ;; cl-png

(defun png->mime (pathname)
  (with-output-to-string (mime-out)
    (let ((png (with-open-file (in pathname
X :element-type '(unsigned-byte 8))
                 (with-output-to-string (out)
                   (s-base64:encode-base64 in out)))))
      (mime:print-mime mime-out
                       (make-instance 'mime:text-mime
X :type "image"
X :subtype "png"
X :charset "US-ASCII"
X :content-encoding :base64
X :encoding :base64
X :content png)
                       t nil))))
;; (png->mime "Teelichter/256/A_dscf5380.jpg.png")

(defun png-dimensions (pathname)
  (let ((png (with-open-file (in pathname
X :element-type '(unsigned-byte 8))
               (png:decode in))))
    (values (png:image-width png)
            (png:image-height png))))

(defun root (children)
  (xmls:make-node :name "PhF" :attrs '(("version" "1.0"))
                  :children children))

#+(or)
(defun header ()
  (xmls:make-node :name "header"
                  (make-node :name "version" :attrs (xmls:make-node :name "type" :attrs "string"))
                  (make-node :name)
                  ))
(defun header (fontname &key (encoding "ISO 8859- 1 Latin 1 (Western)")
                             (ascender 256)
                             (descender 51)
                             (internal-leading 77)
                             (upm 256))
  `("header" NIL ("version" (("type" "string")))
    ("family" (("type" "string")) ,fontname)
    ("full_name" (("type" "string")) ,fontname)
    ("codepage" (("type" "string")) ,(princ-to-string encoding))
    ("ascender" (("type" "int")) ,(princ-to-string ascender))
    ("descender" (("type" "int")) ,(princ-to-string descender))
    ("internal_leading" (("type" "int")) ,(princ-to-string internal-leading))
    ("upm" (("type" "int")) ,upm)))

(defun letter->id (letter)
  "More or less a bugfix, as the photofont plug-in for Adobe Photoshop CS3 (Windows),
seems to have a problem with XML encodings like \"&#xA7;\"... Otherwise I would just
use STRING."
  (let ((code (char-code letter)))
    (if (< 127 code)
        (char-name letter)
        ;; (format nil "~a+0x80" (code-char (- code 128)))
        (string letter))))

(defun mapping (letter)
  `("map" (("unc" ,(princ-to-string (char-code letter))) ("id" ,(letter->id letter)))))

(defun all-mappings (letters)
  (mapcar #'mapping letters))

(defun globals (all-mappings)
  `("globals" NIL
              ("unicode_mapping" (("subtype" "map_unicode") ("type" "array"))
X ,@all-mappings)))
;; (globals  (all-mappings (coerce "ABCDß!§$" 'list)))

(defun glyph (letter pathname)
  (multiple-value-bind (width height)
      (png-dimensions pathname)
    (let ((width-string (princ-to-string width))
          (height-string (princ-to-string height)))
      `("glyph" (("id" ,(letter->id letter)))
                ("image" (("type" "photo")
                          ("id" "v0"))
                         ("shape" (("embedded" ,(file-namestring pathname)))
X ("ppm" (("int" ,height-string)))
X ("bbox" (("height" ,height-string) ("width" ,width-string)
X ("y" "0") ("x" "0")))
X ("base" (("y" ,height-string) ("x" "0")))
X ("delta" (("y" "0") ("x" ,(princ-to-string (- width 2)))))))))))

(defun all-glyphs (list)
  (xmls:make-node :name "glyphs"
                  :children (mapcar (lambda (glyph-spec)
X (apply #'glyph glyph-spec))
X list)))
#+(or)
(all-glyphs '((#\A #p"Teelichter/256/A_dscf5380.jpg.png")
                       (#\B #p"Teelichter/256/B_dscf5702.jpg.png")))

(defun image (pathname)
  (xmls:make-node :name "image" :attrs `(("id" ,(file-namestring pathname)))
                  :children (list (png->mime pathname))))
;; (image "Teelichter/256/A_dscf5380.jpg.png")

(defun all-images (pathnames)
  (xmls:make-node :name "data"
                  :children (list (xmls:make-node :name "photo"
X :children (mapcar #'image pathnames)))))
#+(or)
(all-images (list "Teelichter/256/A_dscf5380.jpg.png"
                  "Teelichter/256/B_dscf5702.jpg.png"))

(defun parse-fontspec (pathname)
  (let ((glyph-specs))
    (with-open-file (file pathname)
      (do ((line (read-line file nil 'eof)
                 (read-line file nil 'eof)))
          ((eq line 'eof))
        (push  (list (elt line 0)
                     (subseq line 2))
               glyph-specs)))
    (nreverse glyph-specs)))


(defun generate-photofont (fontname pathname)
  (let ((glyph-specs (parse-fontspec pathname)))
    (multiple-value-bind (width height)
        (png-dimensions (second (first glyph-specs)))
        (declare (ignore height))
      (root
       (list
        (header fontname
                :ascender (princ-to-string width)
                :upm (princ-to-string width))
        (globals  (all-mappings (mapcar #'car glyph-specs)))
        (all-glyphs glyph-specs)
        (all-images (mapcar #'second glyph-specs)))))))

(defun photofont (fontname source target &key indent)
  (with-open-file (out target :direction :output :if-exists :overwrite :if-does-not-exist :create)
    (princ "<?xml version=\"1.0\" ?>
" out)
    (xmls:write-xml (generate-photofont fontname source) out :indent indent)))
;; (photofont "Teelichter256" "font-spec-256" "Teelichter256.phf" :indent nil)
;; (princ (xmls:toxml * :indent  t))
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Dude, look what it says just above my avatar smile:D What are you giving me codes for? smile:D
I hope this code-guru, python-wrangler, path-fu-fighter GIMP guy can make that happen smile:)
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
Dude, look what it says just above my avatar smile:D

What are you giving me codes for? smile:D

I hope this code-guru, python-wrangler, path-fu-fighter GIMP guy can make that happe smile:)


SAME HERE smile:D We are already TWO that does not understand and can´t use scripts like this smile:D

Although this is of no use for me, I think that perhaps someone that could understand and be able to use this, would be helpful.
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
How does one even use or run a LISP script?! smile:?:
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Using google to find how to run a LISP script I found this

Quote
This article is a How To for using Lisp as a script language from the unix command line.

http://cybertiggyr.com/lscript/


As you can see it is "very easy" to understand how to use it smile;) smile:D smile:D

http://en.wikipedia.org/wiki/Lisp_(pr..._language)
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Yeah I found that result on google too, but since I'm on Win7 and not unix, I didni't read the aricle itself smile:)
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
I have sent to Fontlab a contact email

Quote
Hello, Would be possible to have a Bitfonter Lite version JUST for creating Photofonts?

I mean that I have many letter images that would like to convert to Photofonts, but I find really a waste and expensive way to pay 499$ for Bitfonter software if I ONLY want yo use it for making Photofonts.

As far as I know there is no other possible alternative. Please do you have any plan about making a specific software just for Photofonts making?

Thanks very much. Kindest Regards.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
http://en.wikipedia.org/wiki/Photofont

Quote
Photofonts can be created without specialized font design software because they are simply collections of PNG graphics defined and organized by an XML file. Details of the XML structure are available at www.photofont.com.


can be created without specialized font design software ???? smile:?: smile:?:

This is NOT TRUE at all, how could they say that is NOT needed any specialized font design software when YOU NEED to buy the very expensive Bitfonter software to be able to CREATE Photofonts !!! smile:evil:
______________________________________________________
______________________________________________________
______________________________________________________

Also have found this interesting article about Photofonts

http://creativetuts.com/photoshop/pho...ofont.html

Quote
If you need to work with your own fonts, you have to use BitFonter which is an another software from the same company. ( Famous Fontlab Ltd. )
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
WOW this is really fast!!! I have already received an answer from Fontlab !!! I have just sent the email a few hours ago

BUT the answer is ONLY this :

Quote
I will add this to the wishlist.

Let me know if you have any further questions...

Jimmy Gallagher
Support Fontlab


OK, I think that this probably means, seat and wait until we someday perhaps decide to do it, I wish I would be wrong, but really do not know.
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Actually Coffee Cups older software Photo Objects does create PHF files it's just that it will only apply a texture within outlines of a font you have installed on your system.So creating fonts like the grassy vine font i showed you wouldn't be possible with Photo Objects.You would always have a outline and not a true realistic looking fonts like the nuts and bolts font you showed us.



Rod
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Also i have a Linux environment setup on my windows XP machine for compiling Gimp, GEGL, and BABL from GIT. smile:)
So i will look into the websites you provided and read up on Lisp.I believe it may have something to do with the need of a bat file.
I invoked this one and ran the script as is through it.

Code
@ECHO OFF
"C:\Program Files\Steel Bank Common Lisp\1.0.55.3.mswinmt.1182-d7a1816\sbcl.exe" --script %1
pause > nul


The command window is telling me it needs a XML doc and i think then it will run
I will get back to you.
I need to create the XML doc and the image directories and test it again.

Thanks SpaceRay.
Rod
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
I have seen the Hemera Software and I had it before years ago, but did not use because I do not like it. The Fonts made are very plain and ONLY with textures inside the font and that is all, not good for me.
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Well here is the website i ordered it from in case someone wants to check it out.
http://www.bmsoftware.co.uk/hemerapho...s25000.htm
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Quote
SpaceRay wrote:
can be created without specialized font design software ????


In theory, yes. Let me explain:
The PHF font is basically a bundle of PNG images and an XML document that tells the program using the PHF which image goes where on the alphabet chart, what's it size, relative position and default kerning.
If you know what you are doing, you can create that XML document using Notepad.

It is, however, like creating an FF filter using nothing more than Notepad. All you need is to make an XML document and type in what nodes are in the filter, how they are connected, what are the settings for each components, how they are ararnged on the editor window, the settings for your presets, the author name, details and keywords.

So as you can see, it IS in THEORY possible. But extremely unlikely.
A more likely scenario would be that a person who wants to create PHF fonts find a way to automate the creation of the XML file needed, with all the relevant information. Let's say that if you understand the PHF file specification (freely available for anyone who wants and cares), and the script Rob showed us, you can probably create a simple program of your own that does that.

The only reason why BitFonter is $499, is because it offers MUCH MUCH MUCH more than just creating the PHF fonts. As you know, the "start" plugin is FREE, because it just READS PHF files. If FontLab LTD. decides to release a PHF creation tool that does JUST that, it would be way cheaper. Or free. Nah, it won't be free smile:D
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Hello today I have received another answer to my email I sent yesterday, and this is time is from the most important person in the company !!!

Quote
Spaceray wrote to Fontlab:

Would be possible to have a Bitfonter Lite version JUST for creating Photofonts? I mean that I have many letter images that would like to convert to Photofonts, but I find really a waste and expensive way to pay 499$ for Bitfonter software if I ONLY want to use it for making Photofonts.

As far as I know there is no other > possible alternative. Please do you have any plan about making a specific software just for Photofonts making?


Quote
Ted Harrison (Owner and President of Fontlab) wrote:

We are actually moving in the opposite direction and intend to incorporate BitFonter and Photofont functionality into out flagship product in the next big version upgrade.

However, we hope to have an online version of this software so you can "rent" it at a much cheaper price.

Ted Harrison
Fontlab support


Have an online version of the software ? YES, this would be a GREAT idea and you could "rent" the software only when you need it and do not have to buy the WHOLE big software just to make a few things. And as said it would be much cheaper.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
SpaceRay wrote:
can be created without specialized font design software ????


Quote
Morgantao wrote:

In theory, yes. Let me explain:

The PHF font is basically a bundle of PNG images and an XML document that tells the program using the PHF which image goes where on the alphabet chart, what's it size, relative position and default kerning.
If you know what you are doing, you can create that XML document using Notepad.

It is, however, like creating an FF filter using nothing more than Notepad. All you need is to make an XML document and type in what nodes are in the filter, how they are connected, what are the settings for each components, how they are arranged on the editor window, the settings for your presets, the author name, details and keywords.


YES, I agree IN THEORY this could be possible for an expert and professional person with very good knowledge of XML and knowing well how to do it. BUT I doubt that even this person would choose to do it this way, as it would take much more time to make it, but again I agree this COULD be possible.

BUT in the same way, you would not need to pay for a complete and finished washing machine, you could go probably to the factory and ask that they give you all the parts of the machine and you would build it yourself. smile:D Would be possible ? Yes, but would this be a good idea to do, NO.

ALSO nobody would never think to make a FF filter using notepad although it could be possible to make it.

Quote
Morgantao wrote:

The only reason why BitFonter is $499, is because it offers MUCH MUCH MUCH more than just creating the PHF fonts.


Of course, the high price is because as you say very well, it offers MUCH MUCH MUCH more and have lots of possible uses and the Photofonts as just ONE of the MANY possible uses of Bitfonter.

This is why I have sent to Fontlab asking for a Bitfonter Lite version that would be ONLY for making Photofonts. And as you can see in the post above this, the answer from the president of Fontlab is that they are going in the opposite direction BUT will be making an online version that you will be able to "rent" much cheaper (se the post above of this)

Quote
Morgantao wrote:
As you know, the "start" plugin is FREE, because it just READS PHF files.


Of course that it is free, because as you say this ONLY READS the Photofont files so you can use them in other software, so this is interesting for Fontlab, and very few would use the Photofonts if they can´t use them in their own software.

This is like the Adobe acrobat full software and the Acrobat Reader that is free which ONLY read the PDF files.

Quote
Morgantao wrote:
If FontLab LTD. decides to release a PHF creation tool that does JUST that, it would be way cheaper. Or free. Nah, it won't be free


I think that the answer is NO to both, as you can see in the post above of this, they are NOT going to make a PHF creation tool they are going in the opossite way and want to make a even bigger software smile:?: BUT there will be a way to have it much cheaper by "renting" it. smile:)
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
I am working on a version of a PHF file that you would only need to throw it in with your glyph folder and run the installer.
You would of course always have to name the image glyphs the same or edit the PHF. smile:)
For instance my TEST phf uses
A.png = glyph A
a.png = glyph a

and so on (all symbols are of course written out).
comma.png = , glyph
exclamation.png = ! glyph

Give me time.I have gotten it to install the test PHF but i am still working on image reference.If the images are referenced they need not be embedded.

I believe it has to do with this tag within the xml/phf
Code
<image href="file///C:\image.png">


So PhotoFont Start can find the images.
All the kernal, baseline, and font information will be in the XML part of the PHF file. smile:)

I am getting there!

And of course once i get it working it will be available FREE to anyone and i will attach a open source or GPL license with the PHF file.
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Great news Rod!

Take your time to figure out how everything works.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
Rod_D wrote:

I am working on a version of a PHF file that you would only need to throw it in with your glyph folder and run the installer.

You would of course always have to name the image glyphs the same or edit the PHF.

For instance my TEST phf uses

A.png = glyph A
a.png = glyph a


GREAT NEWS Rod_D !!! Thanks very much for making this.

This would be a wonderful and very useful simple tool for making PHF files from your OWN image glyphs !!!!

Of course that I would be able to name all my glyphs with your own names, this is NOT any problem, at least for me.

Thanks very much
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Just the test file has those names to make it easier for me. smile:)
I ran into a glitch it seems.
Code

  <glyph id="a">
   <image id="v0" type="photo">
   <shape bitmap_placement=". ./grassy/a.png">
     <ppm int="480" />
     <bbox x="20" y="-5" width="404" height="403" />
     <base x="-20" y="398" />
     <delta x="444" y="0" />
    </shape>
   </image>
  </glyph>


Should have worked, but won't even install.it doesn't even recognize it as a font now.Ahh well i will keep working at it.I hope someone over at Gimp Chat can throw me some hints i am stuck here. smile:)
Rod
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Hello Rod_D, I have just seen that you have a thread about this in the GimpChat forum and that you are trying much to make this work.

I want to thank you for all the work and all the time involved to make this possible if you can.
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Still working on it, and have made a small bit of headway.I have found that all PHF files are installed into a different userfolder than the 8bf location.
They install into - My Documents>Photofonts
I have tried the PHF code with the images in that folder to see if i can get it to work.They install but still no image recognition.
I am missing something in the XML. I will keep working on it, and keep you updated of my progress.Eventually i will get it to work.

Thanks for your support SpaceRay. smile:)
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Rod, Don't give up smile:)
You might wanna try reading up on the PHF file format and it's specs.
Here's a place to start: http://www.photofont.com/photofont/devel/
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Problem Report Sent!


Thank you!

Your problem report has been sent to the FontLab support department. We will contact you soon with a response.

If you don't receive a response, please contact techsupport@fontlab.com,julia@fontlab.com.

Hopefully they can point me in the right direction. smile:)
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Hopefully the right direction on their part isn't "buy our software" smile:D
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
I've a feeling you are probably correct. smile:)
That's okay if this doesn't pan out i will look further into LISP.
Rod
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
I got this to work folks! smile:)
Should have a final full glyph PHF file soon. I just need to do further testing.It worked with 500x500 images now i want to test for better higher BIGGER image quality say 2000x2000 smile:)

But it works!

Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Way to go Rod!
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Thanks Morgantao. smile:)

I had a bit of trouble getting the entire glyph to show but i solved that also.
You can get further information here at this link.
http://www.gimpchat.com/viewtopic.php?f=12&t=3763

Should have all the glyph blocks done by Monday and the installer ready soon after.
My biggest fear is using bigger glyph images.I will release the first installer with 500x500 limits. The template will be in Gimps native XCF format.

By using the template you have all your paths ready to be stroked with a brush and they are all set within the PHF limitations for size.You can get the XCF template at the link above.It is all ready to go.

I will include a tutorial on installing the phf file and using it.

It won't be long now before all of us can create great looking Photofonts and installing them ourselves! Now you just need an imagination.

Hopefully i can get a share your PhotoFonts topic going at Gimp Chat so we can all share with each other our wonderful creations. smile:)
Rod
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Thanks very much for all the work you are doing. This could become a very important thing, because there are LOTS of PSD and PNG´s Fonts available but the biggest problem for them is that they can´t be typed using the keyboard and must be loaded as graphics one by one.

Your tool could be a revolution to this for many people that can´t spend 500$ on the Bitfonter software and wants to make they own Photofonts or convert already available PSD and PNG´s Fonts to Photofonts.

Sorry that I do not understand why you have problems to make the size bigger than 500x500 limit. I think that if you can make it to reach 1000x1000 or 1500x1500 would be enough for most things.

I think that perhaps the 500x500 limit is because you are using a template based way to make the graphic conversion to a Photofont, is this true or am I wrong ?

Will this software utility you are making a standalone or will be a plugin for Gimp ?
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
Quote
Your tool could be a revolution to this for many people that can´t spend 500$ on the Bitfonter software and wants to make they own Photofonts or convert already available PSD and PNG´s Fonts to Photofonts


I really do not understand why there isn't a FREE version to convert without embedding. But i will be giving it away free so no biggy.

Quote
Sorry that I do not understand why you have problems to make the size bigger than 500x500 limit. I think that if you can make it to reach 1000x1000 or 1500x1500 would be enough for most things

This is a problem due to the 480 pixel size limit in the PhotoStart software i believe.
I think i may have that solved also. I am still working on that at the moment.

Quote
I think that perhaps the 500x500 limit is because you are using a template based way to make the graphic conversion to a Photofont, is this true or am I wrong ?
No the limitations as i said before are within the 8bf itself. But by changing the code in the PHF i think i got that one licked too. smile;)

Quote
Will this software utility you are making a standalone or will be a plugin for Gimp ?

It basically will be a stand alone file that you will place in My Documents>Photofonts folder.
The only thing you will need to do after that is create your font images and place them in the folder the phf states images/YourPng.png
I figured this way you need not change anything in the PHF file just move the images and create new ones.Otherwise you will have to edit each and every image name in the glyph blocks within the phf file.That could get monotonous. smile:)

I will include the XCF (Gimp file) template because it has all paths you need for most used symbols and all letters and numbers. You need then only grab a brush or image hose and stroke the path of a letter. Their is also a SCM script i will add that saves each layer in a XCF file as a png image making it real easy to create and save your glyphs.I will include instructions for this.
You can of course make your own XCF or PSD template.Gimp is FREE opensource and that is why i will include a XCF file template also.Not everyone can afford Photo Shop either.
Rod
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
So if I understand correctly, you will have a static folder with a PHF file in it, and if you want to use a rocks glyph, you put the rock PNGs in the folder, and if you want grass glyphs you put the grass PNGs instead?
That sounds simple enough. That way the user can create folders with glyphs, name the folder after the glyphs, and copy folder content to the Photofonts folder to make the font smile:)
Great work!
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
You pretty much got it.
The PHF file will always be in the My Documents\Photofont folder.
That will in turn have a sub folder named images.
Once the images or glyphs are placed in the images folder they are installed in Photofont Start.There will be no need to instal them through the plug-in. smile:)

You can either edit the PHF file to except a new set of glyphs in a different folder ie..shape system="images/NewFolder/A.png, B.png ect ..ect.. ect...
and edit the header for the new font name ...You would have to edit all these...
<shape system="images/A.png">
<family type="string">Non_Embedded_PHF</family>
<full_name type="string">Non_Embedded_PHF</full_name>
Every time you changed the font.
OR an easier way is to just replace the set of glyphs with the ones you plan to use.This is the preferred method for me.This way i can create nice high quality images without worrying to much about disc space.

This is the way i do it...
I keep the PHF file in the My Documents\Photofonts folder all the time.
I keep all my glyphs on a USB flash drive about 4 gigs in size.
Every time i need a font i just grab it from there and replace or overwrite the one in the images folder. smile:)

As long as the image NAMES stay the same everything works excellent that way, and more efficiently. All i need do is decide on a font, copy paste all the images in that font folder off the USB flash drive into the My Documents\Photofonts\images folder and start my image program...Photo Shop or Gimp.I keep my disc space size down , my fonts are all organized in their own little folders on the USB flash drive, and i have nice high quality png glyphs to work with. smile:)

This will also save on Program load time as the size of the Photofonts folder will be small all the time.It should only contain the default embedded phf files.
Also you can install on the fly by just replacing the images when the program is open. smile:)
Rod
  Details E-Mail
Rod_D
have you seen my eraser?

Posts: 222
Filters: 3
By the way doing it this way the font in the list will always be named "Non_Embedded_PHF"

No matter which set of glyphs you use.
Rod
  Details E-Mail

Messages 1 - 45 of 77
First | Prev. | 1 2 | Next | Last 

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

19 unregistered users.