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. Web Development
  3. ASP.NET
  4. getting fonts installed on client machine

getting fonts installed on client machine

Scheduled Pinned Locked Moved ASP.NET
question
11 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.
  • O Offline
    O Offline
    Omar Gameel Salem
    wrote on last edited by
    #1

    hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?

    M Y L O 4 Replies Last reply
    0
    • O Omar Gameel Salem

      hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      List<string> LobjFontList = new List<string>();
      InstalledFontCollection LobjFonts = new InstalledFontCollection();
      foreach (FontFamily LobjFamily in LobjFonts.Families)
      {
      LobjFontList.Add(LobjFamily.Name);
      }

      O Y 2 Replies Last reply
      0
      • M Manas Bhardwaj

        List<string> LobjFontList = new List<string>();
        InstalledFontCollection LobjFonts = new InstalledFontCollection();
        foreach (FontFamily LobjFamily in LobjFonts.Families)
        {
        LobjFontList.Add(LobjFamily.Name);
        }

        O Offline
        O Offline
        Omar Gameel Salem
        wrote on last edited by
        #3

        Thank you Manas :)

        1 Reply Last reply
        0
        • M Manas Bhardwaj

          List<string> LobjFontList = new List<string>();
          InstalledFontCollection LobjFonts = new InstalledFontCollection();
          foreach (FontFamily LobjFamily in LobjFonts.Families)
          {
          LobjFontList.Add(LobjFamily.Name);
          }

          Y Offline
          Y Offline
          Yusuf
          wrote on last edited by
          #4

          Hmmm, doesn't this lists the fonts installed on the server? How is this going to work with the fonts on the client side?

          Yusuf

          M 1 Reply Last reply
          0
          • Y Yusuf

            Hmmm, doesn't this lists the fonts installed on the server? How is this going to work with the fonts on the client side?

            Yusuf

            M Offline
            M Offline
            Manas Bhardwaj
            wrote on last edited by
            #5

            Oops!!! My mistake :^)

            Y 1 Reply Last reply
            0
            • O Omar Gameel Salem

              hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?

              Y Offline
              Y Offline
              Yusuf
              wrote on last edited by
              #6

              I am not sure if you can get the fonts installed on the client machine. You can embed known fonts with your editor and let the user select only from your fonts though.

              Yusuf

              O 1 Reply Last reply
              0
              • M Manas Bhardwaj

                Oops!!! My mistake :^)

                Y Offline
                Y Offline
                Yusuf
                wrote on last edited by
                #7

                it happens... :-O

                Yusuf

                1 Reply Last reply
                0
                • Y Yusuf

                  I am not sure if you can get the fonts installed on the client machine. You can embed known fonts with your editor and let the user select only from your fonts though.

                  Yusuf

                  O Offline
                  O Offline
                  Omar Gameel Salem
                  wrote on last edited by
                  #8

                  sounds good yusuf..can you guide me through getting these known fonts?

                  Y 1 Reply Last reply
                  0
                  • O Omar Gameel Salem

                    sounds good yusuf..can you guide me through getting these known fonts?

                    Y Offline
                    Y Offline
                    Yusuf
                    wrote on last edited by
                    #9

                    look on this thread on CSS Creator Hope this helps

                    Yusuf

                    1 Reply Last reply
                    0
                    • O Omar Gameel Salem

                      hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?

                      L Offline
                      L Offline
                      Lea Hayes
                      wrote on last edited by
                      #10

                      Hi, You could write a javascript for the client-side which checks for a selection of common fonts, and then postback an array of boolean values to the server indicating which of those fonts were found. It is probably best to stick to web-safe fonts. Hope this is of use! Lea Hayes

                      1 Reply Last reply
                      0
                      • O Omar Gameel Salem

                        hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?

                        O Offline
                        O Offline
                        Omar Gameel Salem
                        wrote on last edited by
                        #11

                        Thank you all :)

                        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