Announcement

Collapse
No announcement yet.

Third party Fonts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Third party Fonts

    Hi:
    I am new to 4d Systems. I have uLED-160-G1. I am trying to add third party fonts using Visi following the pdf manual on your site.
    Once the Visi form code is pasted on the IDE i try to save it to the uSD card.
    But i encounter the following error.


    Error: 'iForm1H' not found (line 23 file:Visi1.4Dg)
    Error: context error for unknown 'iForm1H' (line 23 file:Visi1.4Dg)
    Error: 'iForm1L' not found (line 23 file:Visi1.4Dg)
    Error: context error for unknown 'iForm1L' (line 23 file:Visi1.4Dg)
    Error: 'PrintDisk' not found (line 32 file:Visi1.4Dg)
    Error: context error for unknown 'PrintDisk' (line 32 file:Visi1.4Dg)
    Error: 'i' not found (line 32 file:Visi1.4Dg)
    Error: context error for unknown 'i' (line 32 file:Visi1.4Dg)

    What am I doing wrong?

    Please help.

    TM

  • #2
    The zip file contains the source of the samples, but it looks like you have gone far beyond that.

    Error: 'iForm1H' not found (line 23 file:Visi1.4Dg)
    Error: context error for unknown 'iForm1H' (line 23 file:Visi1.4Dg)
    Error: 'iForm1L' not found (line 23 file:Visi1.4Dg)
    Error: context error for unknown 'iForm1L' (line 23 file:Visi1.4Dg)

    Sounds like you have created a background image for a form, pasted the code and then deleted, or removed the form background image without removing the code. 'iForm1H' and 'iForm1L' would normally be automatically generated in the 'programnameConst.inc' file.

    Error: 'PrintDisk' not found (line 32 file:Visi1.4Dg)
    Error: context error for unknown 'PrintDisk' (line 32 file:Visi1.4Dg)

    Sounds like you have added a LedDgits or CustomDigits object and pasted code but not added the
    #inherit "ledDigitsDisplayGoldelox.inc"
    statement

    Error: 'i' not found (line 32 file:Visi1.4Dg)
    Error: context error for unknown 'i' (line 32 file:Visi1.4Dg)

    Sounds like you have used a variable i in your code without declaring it.
    Mark

    Comment


    • #3
      Thank you, I got it working now. I have another quick question.
      Is it possible to rotate the characters at a specific angle while printing? Say i want a word be printed at 30° angle.

      Please advise.

      Comment


      • #4
        You can really only do 90, 180, 270.

        Although you might be able to do some odd looking stuff by using italics and repositioning the 'start point' after each character
        Mark

        Comment


        • #5
          I hope you are not talking about the landscape to portrait screen rotation.
          I want a only a subset of chars (like one word) be rotated not the entire screen.
          I am new to this language. I would appreciate if you can let me know which command in designer rotates the char to 90, 180, 270?

          Comment


          • #6
            I am talking about screen rotation.

            The command doesn't actually rotate the screen. It 'just' means the output after the command is rotated. So you can use it to achieve different words in different alignments, although you will probably need to use gfx_MoveTo to position that text.
            Mark

            Comment

            Working...
            X