3 Replies Latest reply on Jul 11, 2006 6:07 AM by Newsgroup_User

    Bitmap Fonts?

    Level 7
      Hi

      Probably someone knows, if there is some possibility in Director or
      completed frameworks, that allow to use bitmap fonts in Director
      applications

      I mean with this, we are delivered a font as a bitmap file, all letters are
      described (width, height , rect etc) in XML

      Than we have to extract each needed letter out of this bitmap and compose
      needed text

      Any help will be appreciated
      Yurij


        • 1. Re: Bitmap Fonts?
          Level 7
          There's probably a font utiility that can convert a bitmap image to a
          truetype font, which would allow the font to be imported as an internal
          font for normal use in field and text members.




          One could crate a simple bitmap banner message generator, providing non
          editable display only text.

          Armed with the dimentions of each character one could devise a method to
          compose simple messages into a bitmap representations.

          One could capture a character set from a text member, charposToLoc
          identifies the char position with the images copyPixels would extract
          the individual image, A message would then be composed with a serie of
          copypixel operations.
          • 2. Re: Bitmap Fonts?
            Lukewig Level 1
            Hi,

            Have you had a look at http://www.lingoworkshop.com/Codelib/pixelfonts.php
            -- it might provide the sort of framework you are looking for.

            -- Luke
            • 3. Re: Bitmap Fonts?
              Level 7
              I have to work with already generated bitmaps
              I would like to use this framework, but it doesn't support UTF-8 encoding

              What I want to do:
              I have
              - some text, that is stored in XML with UTF-8 encoding (text used in
              multilanguage project)
              - generated bitmap, representing font for displaying text about (as sequence
              of characters)
              - description txt or xml-file, containing positions and other properties of
              each character in the bitmap above

              Basing on this information we have to build a bitmap castmembers for each
              textline from XML-file with texts

              That is the framework, we are looking for? Does anyone have some ideas or
              examples about something like this?

              We are looking also for suitable bitmap font generator, that can store
              description files with UTF-8 encoding

              Any help will be appreciated



              "Lukewig" <webforumsuser@macromedia.com> wrote in message
              news:e901fq$8ne$1@forums.macromedia.com...
              > Hi,
              >
              > Have you had a look at http://www.lingoworkshop.com/Codelib/pixelfonts.php
              > -- it might provide the sort of framework you are looking for.
              >
              > -- Luke