• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Text scaling & formatting for dynamic content

    How To... ?
    4
    7
    124
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Video Architect Beta Silver last edited by Woland

      Is there any way for Isadora to dynamically change the size and or formatting/wrapping of text based on the length of a line of text?

      I've built a simple patch that using an array actor that sends a line of haiku to 3 seperate text draw actors. The aim being that the .txt document that it is based on can be updated dynamically as new lines of text are entered. Of course the number of characters will vary a bit. 

      Im looking for a way to calculate the optimum text formatting for a size limited "circular text zone"  preferably by adding a 'carriage return'. but could be through reducing text size.


      Can this be done?


      I am still on Izzy 3, using Mac Studio and/0r early M1 Mac book pro.

      Thanks

      J1M

      Mac Studio M2Max Ventura 13.4
      MacBook Pro M1. - Ventura 13.4
      Mac mini M1 - Sonoma 14.1.2

      Melbourne, Oortsraylia

      jfg Woland 4 Replies Last reply Reply Quote 0
      • jfg
        jfg @Video Architect last edited by jfg

        @video-architect

        I am not sure to understand exactly what you want but if it is something like that:

        you only need to set "bounds width" and "bounds height" in the Text draw actor to limit the text to a square inside the circle and then choose the correct text size. If you need or want to change the text size for each new text you can add the size for each text in your file (after the text with a tab before)  (Extract from the actor description: "The data may be stored on disk in a standard, tab-separated text file"). In the Data array actor you add a second value and link this second value to the font size of the Text draw actor. It will change with each new line.

        Best regards, 

        Jean-François 

        • Izzy 4
        - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
        Mac OS 10.14.6 (Mojave)
        - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

        • A range of deployable older Macs
          Located in Bremen, Germany
        Skulpture 1 Reply Last reply Reply Quote 5
        • Skulpture
          Skulpture Izzy Guru @jfg last edited by

          @jfg that's a really clever solution actually. 

          Graham Thorne | www.grahamthorne.co.uk
          RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
          RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
          RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

          1 Reply Last reply Reply Quote 0
          • Woland
            Woland Tech Staff @Video Architect last edited by

            @video-architect

            text-draw-aware-of-text-wrapping.iua4

            Does this help?

            TroikaTronix Technical Support
            New Support Ticket: https://support.troikatronix.com/support/tickets/new
            Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
            Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
            Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

            | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

            1 Reply Last reply Reply Quote 1
            • Woland
              Woland Tech Staff @Video Architect last edited by Woland

              @video-architect said:

              I am still on Izzy 3

              My bad, here's one you can actually use with Isadora 3: text-draw-aware-of-text-wrapping.iua3

              Basically the "measure mode" input is the key

              TroikaTronix Technical Support
              New Support Ticket: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

              1 Reply Last reply Reply Quote 2
              • Woland
                Woland Tech Staff @Video Architect last edited by

                @video-architect said:

                preferably by adding a 'carriage return'. but could be through reducing text size.

                Also both of these could be accomplished programatically with some logic.

                Additionally, if the text is known ahead of time and you want to avoid seeing the adjustments being made live, you could have two Stages with one of the Stages being what you're sending to the video output, and the second Stage being a Virtual Stage where the adjustments happen to what will be the next piece of text shown. The adjustments made to the second (non-visible) Stage can then be written to the text file with the Data Array actor so that the numbers and text are already corrected for when the Data Array actor hooked up to the real output Stage moves on to show that text.

                TroikaTronix Technical Support
                New Support Ticket: https://support.troikatronix.com/support/tickets/new
                Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                V 1 Reply Last reply Reply Quote 1
                • V
                  Video Architect Beta Silver @Woland last edited by

                  @woland + @Skulpture + @jfg

                  Thanks guys

                  There's plenty to work with in all your suggestions. @jfg exactly what I am trying to achieve.

                  :-)

                  J1M

                  Mac Studio M2Max Ventura 13.4
                  MacBook Pro M1. - Ventura 13.4
                  Mac mini M1 - Sonoma 14.1.2

                  Melbourne, Oortsraylia

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post