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 / C++ / MFC
  4. Which part of Win32API?

Which part of Win32API?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpoopquestion
4 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.
  • P Offline
    P Offline
    Polite Programmer
    wrote on last edited by
    #1

    Is there any subset of Win32API that is capable of dealing with TrueType Fonts like picking up a Glyph from the TrueType and rasterizing it.... (While the font is'nt installed in Fonts folder) Please let me know... Best regards, Mohsin Hijazee Polite Programmer


    More Object Oriented then C#

    C N 2 Replies Last reply
    0
    • P Polite Programmer

      Is there any subset of Win32API that is capable of dealing with TrueType Fonts like picking up a Glyph from the TrueType and rasterizing it.... (While the font is'nt installed in Fonts folder) Please let me know... Best regards, Mohsin Hijazee Polite Programmer


      More Object Oriented then C#

      C Offline
      C Offline
      cmk
      wrote on last edited by
      #2

      See AddFontResourceEx( , R_PRIVATE, ) to load a font from a file into the application space. Once the font is added to the application space you can get a font handle just like you would for a system font, load it into a DC (bitmap), and then write the required text to the DC. ...cmk Save the whales - collect the whole set

      1 Reply Last reply
      0
      • P Polite Programmer

        Is there any subset of Win32API that is capable of dealing with TrueType Fonts like picking up a Glyph from the TrueType and rasterizing it.... (While the font is'nt installed in Fonts folder) Please let me know... Best regards, Mohsin Hijazee Polite Programmer


        More Object Oriented then C#

        N Offline
        N Offline
        NiceNaidu fo
        wrote on last edited by
        #3

        TrueType Fonts is new in the .NET Framework version 2.0. So use the following namespace to get that, System.Windows.Forms.VisualStyles Namespace Appu.. "If you judge people, you have no time to love them."

        J 1 Reply Last reply
        0
        • N NiceNaidu fo

          TrueType Fonts is new in the .NET Framework version 2.0. So use the following namespace to get that, System.Windows.Forms.VisualStyles Namespace Appu.. "If you judge people, you have no time to love them."

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          Uh.. which part of Win32 API did you not understand?

          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