Graphics

 View Only
Expand all | Collapse all

First and last name different fonts

Robert Booth

Robert Booth04-27-2017 20:04

John Bober

John Bober05-08-2017 13:20

Brian Ford

Brian Ford05-08-2017 15:59

Brian Ford

Brian Ford05-08-2017 19:41

  • 1.  First and last name different fonts

    Posted 04-27-2017 13:49

    Hopefully this is an easy one. Draft kings wants me to make the players first and last name a different font (see image IMG_0565).


    Is there visual logic I can use to get this complete? IMG_0566 is the visual logic I'm using now.

    Thank you



  • 2.  RE: First and last name different fonts

    Posted 04-27-2017 15:04
    Yes, just add a "string value" block into your concatenate between first and last name. Set the string value to {LastNameFont} and then create a font called "LastNameFont".

    #XPression


  • 3.  RE: First and last name different fonts

    Posted 04-27-2017 20:04
    Worked perfectly. Thank you!
    #XPression


  • 4.  RE: First and last name different fonts

    Posted 05-04-2017 20:45

    Can you send more screen grabs? I'm having a problem


    #XPression


  • 5.  RE: First and last name different fonts

    Posted 05-08-2017 13:14

    This is what I have and not getting the correct output. Thanks


    #XPression


  • 6.  RE: First and last name different fonts

    Posted 05-08-2017 13:20

    Scene


    #XPression


  • 7.  RE: First and last name different fonts

    Posted 05-08-2017 14:54
    Make sure you have the blue button at the top of your viewport turned on to see Visual Logic working in Layout (doesn't look like it's on in your screenshot)! It's the button called 'Show or Hide Continuous Animations in the Viewport F12'.
    #XPression


  • 8.  RE: First and last name different fonts

    Posted 05-08-2017 15:25
    Garner, Yes I do have it on. Not getting the results. Do I have the string Value in the correct place?
    #XPression


  • 9.  RE: First and last name different fonts

    Posted 05-08-2017 15:50
    No, the string value should be fed directly into the concatenate, between the first and last name blocks.
    #XPression


  • 10.  RE: First and last name different fonts

    Posted 05-08-2017 15:53
    Also, the original poster of this thread had the first and last names in seperate text objects, then they got merged together into a single text object. This doesn't seem to be what you are trying to do though. I suspect they did it that way because their data source provided the first and last names independently.
    #XPression


  • 11.  RE: First and last name different fonts

    Posted 05-08-2017 15:59

    Here see this screenshot:


    #XPression


  • 12.  RE: First and last name different fonts

    Posted 05-08-2017 16:23

    I would like to us only one line to text as that is how my data comes in. But still doing it as you have shown. I'm still not able to get the two different fonts. 


    #XPression


  • 13.  RE: First and last name different fonts

    Posted 05-08-2017 16:50
    Make sure the text object is not already set to use the red font.. I would try selecting all the text in it and double click the white font to ensure that the first part of that text object is set to white..

    #XPression


  • 14.  RE: First and last name different fonts

    Posted 05-08-2017 17:12
    Will I did get it working by un-linking the LastNameFont to the Concatenate, then reconnecting. It must not cleared from the last time.

    Is there a way to do this with a single line of text and have two different fonts for first Name and Last name

    Many thanks for the support
    #XPression


  • 15.  RE: First and last name different fonts

    Posted 05-08-2017 19:39
    How would you like it to know where the last name begins?
    Sometimes a name is not as simple as "John Smith", it may have several spaces such as "Stephane da Costa", or "Billy Bob Thornton"..
    If you just want it to break on the first space; you can use a 1 line script in OnSetText for the text object:

    Text = Replace(Text, " ", " {LastName}",1)

    You won't see this applied in layout, but it should work fine when putting a scene online from Sequencer mode.

    #XPression


  • 16.  RE: First and last name different fonts

    Posted 05-08-2017 19:41

    Screenshot:


    #XPression


  • 17.  RE: First and last name different fonts

    Posted 05-08-2017 20:39
    Fantastic ! Thank you (b [SIZE=12px]Ford[/SIZE])
    #XPression