Announcement

Collapse
No announcement yet.

Using a custom font without problems.

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

    Using a custom font without problems.

    Hello there. For my project, I'm using a dowloaded font (CC Astro City)

    I managed to get it to work, but some letters look cut:
    Click image for larger version

Name:	fonterror.png
Views:	1
Size:	18.8 KB
ID:	1175713

    I can't find a solution. Any ideas on what's causing this/how to avoid it?

    Here's the project, as well as the font:

    https://mega.nz/#!rtQFDADQ!5i410_2r1...WlKTa8fhf8vAxY

    Thanks in advance.
    If you like painting in VR, check out Lienzo - knexator.itch.io/lienzo-vr

    #2
    Is there a option somewhere to set the size of the characters?
    Never say Never, Because Never comes too soon. - ryan20fun

    Frames Per Second is NOT a proper performance metric, You should use frame time. You can read this or this as to why.
    (Profiling) Tools: RenderDoc (UE4 Plugin), NVIDIA nSight, AMD GPU PerfStudio, CodeXL
    Good articles/Series: A trip through the Graphics Pipeline 2011

    Comment


      #3
      I think you're referring to the 'Extend box' in the import options. However, if I use it, all letters will have too much spacing. How can I set it for one specific character?
      If you like painting in VR, check out Lienzo - knexator.itch.io/lienzo-vr

      Comment


        #4
        Originally posted by mago314 View Post
        I think you're referring to the 'Extend box' in the import options. However, if I use it, all letters will have too much spacing.
        I know that when a font in bitmap format will require you to have appropriate bounds around each character that are of the same size.
        So each character would have to fit into a predefined box and the box's would be adjacent.
        This knowledge comes from working on creating a font renderer with just D3D.

        Originally posted by mago314 View Post
        How can I set it for one specific character?
        I am not sure, I have not tried importing a custom font into UE4 yet.

        Is there not a font tutorial that can be used as a baseis?

        HTH
        Never say Never, Because Never comes too soon. - ryan20fun

        Frames Per Second is NOT a proper performance metric, You should use frame time. You can read this or this as to why.
        (Profiling) Tools: RenderDoc (UE4 Plugin), NVIDIA nSight, AMD GPU PerfStudio, CodeXL
        Good articles/Series: A trip through the Graphics Pipeline 2011

        Comment

        Working...
        X