Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Multiple font types in richtextbox?

Multiple font types in richtextbox?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • X Offline
    X Offline
    Xodiak
    wrote on last edited by
    #1

    Can the richtextbox control in c# support mulitple fonts?
    For example: Hello, how are you? I'm fine, thank you I know you can set the entire rtb to be specific font but what about small pieces of text inside it? Can someone point me in the right direction? Thanks

    L 1 Reply Last reply
    0
    • X Xodiak

      Can the richtextbox control in c# support mulitple fonts?
      For example: Hello, how are you? I'm fine, thank you I know you can set the entire rtb to be specific font but what about small pieces of text inside it? Can someone point me in the right direction? Thanks

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      SelectionFont

      xacc.ide-0.1.2.6
      Now with even better keyboard customization - Emacs style

      X E 2 Replies Last reply
      0
      • L leppie

        SelectionFont

        xacc.ide-0.1.2.6
        Now with even better keyboard customization - Emacs style

        X Offline
        X Offline
        Xodiak
        wrote on last edited by
        #3

        thanks :-)

        1 Reply Last reply
        0
        • L leppie

          SelectionFont

          xacc.ide-0.1.2.6
          Now with even better keyboard customization - Emacs style

          E Offline
          E Offline
          emran834
          wrote on last edited by
          #4

          Hi, I was wondering about the font i am using in my Controls, are they being embedded in the assembly or The user must have that font installed in their Windows !!! If Later is true, then how can i embedd the font that i use in my control in the assembly ?

          D 1 Reply Last reply
          0
          • E emran834

            Hi, I was wondering about the font i am using in my Controls, are they being embedded in the assembly or The user must have that font installed in their Windows !!! If Later is true, then how can i embedd the font that i use in my control in the assembly ?

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Start your own thread next time. No, the fonts are not being embedded in the controls. The user must have the font installed already. If not, then a default font is used borrowing from the system settings. None of the controls support embedding fonts. This is best implemented in the installer for your application. You could also use a PrivateFontCollection[^] to get the same effect. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups