font killer - macro?

Is there such a macro that searches for a particular font in a document and converts it to curves?

Parents
  • Something like this should do work:

    Sub FontToCurves()
        Dim sr As ShapeRange
        Dim strFontName As String
    
        strFontName = "Arial"
        
        For Each p In ActiveDocument.Pages
            Set sr = p.Shapes.FindShapes(Query:="@type ='text:artistic' or @type ='text:paragraph' and @com.text.story.font = '" & strFontName & "'")
            sr.ConvertToCurves
        Next p
    End Sub
    

    Hope that helps,

    -Shelby

Reply Children
No Data