Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Dec 2001
    Location
    Reston, Virginia, USA
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Finding Substituted Font (Word 2000 SR1)

    I am trying to find and replace text that is formatted by an unavailable font. The attachment contains a snippet of the document that I am trying to fix. The characters before and after the B in the second line are the problem children. In the hardcopy of the document that I was given, these problem characters are opening and closing double-quotes, but I am unable to have them appear/print as such in Word.

    The problem chars are in font "WP TypographicSymbols". The way I confirmed that is by accessing Tools, Options, Compatability, Font Substitution, and substituting a WingDing font for WP TypographicSymbols. This causes those two characters to change appearance. However, selecting either character and then accessing Format, Font, always lists Helvetica as the character font. In trying to use Edit, Find, Format, Font, and selecting the WingDing font (with no Find text), Word reports that no text is found. The WP TypographicSymbols font is not listed as a font to search for, so I typed in WP TypographicSymbols as indicated by another post. The characters still were not found.

    If the Symbol font is substituted, the character before the B is displayed as an "A". Searching for an "A" will find that character, along with each of the other "A"s in the text snippet.

    I wrote the below code in hopes of getting more information about these characters.

    Public Sub ShowCharCodes()
    With Selection.Characters
    MsgBox "Char: " & .Item(1).Text & " ASCII: " & Asc(.Item(1).Text) & " Unicode: " & AscW(.Item(1).Text) & vbNewLine _
    & .Item(1).Font.Name & " " & .Item(1).Font.NameAscii
    End With
    End Sub

    The msgbox reports information on the character to the immediate right of the insertion point, or the first selected character. Surprisingly, this code reports that both of these characters are actually a left parenthesis "(", and they are formatted in Arial font, which is inconsistent with everything else! <img src=/S/scream.gif border=0 alt=scream width=15 height=15>

    So, can someone please explain what's going on here, and how can I do a search and replace on these problem characters?

    <img src=/S/please.gif border=0 alt=please width=31 height=23> Thanks,
    Marty
    Attached Files Attached Files

  2. #2
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Tallahassee, Florida, USA
    Posts
    901
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Substituted Font (Word 2000 SR1)

    Ah yes... WP Typographic Symbols... There are instructions for Word97 and above in this thread.

    Good luck!
    Karen

  3. #3
    Lounger
    Join Date
    Dec 2001
    Location
    Reston, Virginia, USA
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Substituted Font (Word 2000 SR1)

    Thanks for the response. I tried the steps described in that thread, double checking the font name for correct typing, and Word still fails to find the WP TypographicSymbols font text. Could there be some Word setting that affects the search for a named but unavailable font? Why doesn't VB report the correct font or character value?

Posting Permissions

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