Results 1 to 3 of 3

Thread: get Font company of a font

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2013
    Posts
    13

    get Font company of a font

    Is is possible to get the font company of a font using vb.net. Please refer the attached file

    Addlethorpe1-Regular.otf - font name
    Company - Ray Larabie
    Attached Images Attached Images  

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    10,335

    Re: get Font company of a font

    This website looks to do exactly what you want: http://pradeep1210.wordpress.com/201...erties-viewer/

    It uses the Dsofile.dll to extract the files of a folder and get their extended properties. The trick appears that you don't treat a font file as a font, rather you treat it as a regular file.
    "Code is like humor. When you have to explain it, itís bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2013
    Posts
    13

    Re: get Font company of a font

    Thanks for the info. I tried using dsofile.dll.

    but the below lines of codes, returns NULL value.

    dsodocument.Open("D:\FontName_Extract\Albany Std\AlbanyStd.otf", False, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess)

    MsgBox(dsodocument.SummaryProperties.company)

    let me know how to get the 'company' property of a font (as mentioned in the screenshot that i had included in my initial forum)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width