Page 68 of 68 FirstFirst ... 586465666768
Results 671 to 676 of 676

Thread: The LaserBoy Thread

  1. #671
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    2,274

    Default

    Quote Originally Posted by james View Post
    Yes. And I wrote a script language that uses an ild frame set font to translate whatever you type in the script to a variety of different layouts. Some of them are animated.

    https://laserboy.org/mp4/text.mp4

    https://laserboy.org/mp4/text.txt

    .
    Interesting. With Spaghetti, I just convert the text directly to points in real time using the data in the font. The fonts are just a sequence of beziers so it isn't hard to do. All the variable width text and spacing is handled by the font data. Something to consider. Any TT font can be handled without any work.

  2. #672
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    2,113

    Default

    Quote Originally Posted by JohnYayas View Post
    Interesting. With Spaghetti, I just convert the text directly to points in real time using the data in the font. The fonts are just a sequence of beziers so it isn't hard to do. All the variable width text and spacing is handled by the font data. Something to consider. Any TT font can be handled without any work.
    Are you using some Windows api to do that? Or are you actually opening the ttf file and reading it directly?




    .
    Last edited by james; 10-21-2022 at 14:39.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOS and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

  3. #673
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    2,274

    Default

    Quote Originally Posted by james View Post
    Are you using some Windows api to do that? Or are you actually opening the ttf file and reading it directly?




    .
    I use a Windows API that provides the list of curves since it comes with the OS. There are open source C++ libs that would work in your case.

  4. #674
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    2,113

    Default

    I think what I have is pretty nifty. It's relatively easy to use Inkscape to render any text as dxf which opens in my app. It takes time to make a frame_set with some 230 different frames, but I can get through it. Then I make a utf8 text file with a string of visible characters in the same order as the frame_set. This way other people can create fonts of whatever character sets they want. And it works in every OS supported by SDL2. Everything my app does is in the C++ that comes with it (except for an SDL window with an address to blit a bitmap to and keyboard hits).

    I have also made a few single stroke fonts by drawing every character in CAD. I will have to draw all of the characters beyond the standard ascii set. Lots of them would be letters I already have with added diacritics.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOS and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

  5. #675
    Join Date
    Jul 2008
    Posts
    701

    Default Yet Another Incarnation

    Here we have the good old C-Media cm6206 USB audio adapter repackaged yet again...

    It just won't go away!

    https://www.amazon.com/Vantec-NBA-20...60794363&psc=1

    I wish they'd come up with a 192Khz version.
    Once milk has been poured over corn flakes, the clock starts ticking.

  6. #676
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    2,113

    Default

    There is a new experimental version of LaserBoy here:

    https://laserboy.org/code/LaserBoy_2022_11_23.zip

    I have not yet begun the work of documenting all of the new capabilities of this version. This is for those who want to try it out and possibly make comments about its use and functionality.

    The major focus of this release is vector font rendering any characters from the Unicode character set from utf8 encoded ascii text files (with specific instructions).

    This version introduces a new file type and sub-directory to go with it called utf8.

    There are new LaserBoy ascii text directive that facilitate the management of character sets outside of the standard ascii single byte characters from 33 to 127 aka

    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

    At first I thought of using a utf8 encoded ascii file as an index into a font frame set. I developed the tools necessary to manage that. Then I realized that ilda frames have 8 (ascii) character names for each frame and that 8 characters is exactly the number required to represent any 32 bit hexadecimal value (Unicode character identification) from 00000000 to ffffffff. So now there is a system to examine a block of utf8 text and distill a character set, import character lists to set the Unicode names of every frame in a font, export the character list from the frames of a font, compare one set of Unicode characters to another and generate all of the extended characters that are composed of the regular ascii base letters and diacritic marks used in all kinds of non-English text based on the Latin Alphabet. When a font is used by a LaserBoy text script, the names of each frame are used to identify each glyph. So the order of the frames is no longer relevant. If the frame names are found to not be correctly set to Unicode values, then the default assumption is to index the frame_set as the first 94 glyphs of standard ascii (like it has for over a decade).

    I also added a new dxf import option that works with Inkscape. In Inkscape it is possible to drop a text cursor and place truetype font into a CAD drawing. This text can then be converted into a tool path and saved as dxf. LaserBoy can open that dxf and extract each individual glyph to make a font set.

    This version comes with a bunch of new fonts in ./LaserBoy/ild/fonts and two new text files, new.txt and compose.txt.

    The application has new menu options.

    Please check it out and ask questions!
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOS and Linux (including Raspberry Pi!).
    Download LaserBoy!
    YouTube Tutorials
    Ask me about my LaserBoy Correction Amp Kit for sale!
    Either do or do not do. There is no undo!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •