Prev: SP3 for Office 2003 (Powerpoint) 50 presentations MAX
Next: Action buttons did not function properly with power point 2007
From: josh.projects on 9 Jan 2008 23:27 Hello all, According to the VBA documentation, the TextRange.Font object stores several different font names (Font.Name, Font.NameAscii, Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a simple way to find out which one of those fonts is actually used to display a given chunk of text? I suppose it might be possible by checking the Unicode character range manually (for example, if the text contains Chinese/Japanese/Korean characters, the font specified by NameFarEast is used), but I'm not sure when NameComplexScript and NameOther would be used. Thanks in advance.
From: josh.projects on 10 Jan 2008 01:03 Hmm... after some more experimentation, it seems that the actual font used is in TextRange.Font.Name. Can anyone confirm? On Jan 10, 12:27 pm, josh.proje...(a)gmail.com wrote: > Hello all, > > According to the VBA documentation, the TextRange.Font object stores > several different font names (Font.Name, Font.NameAscii, > Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a > simple way to find out which one of those fonts is actually used to > display a given chunk of text? > > I suppose it might be possible by checking the Unicode character range > manually (for example, if the text contains Chinese/Japanese/Korean > characters, the font specified by NameFarEast is used), but I'm not > sure when NameComplexScript and NameOther would be used. > > Thanks in advance.
From: John Wilson john AT technologytrish.co DOT on 10 Jan 2008 04:16 That should give you the name of the font -- Amazing PPT Hints, Tips and Tutorials http://www.PPTAlchemy.co.uk http://www.technologytrish.co.uk email john AT technologytrish.co.uk "josh.projects(a)gmail.com" wrote: > Hmm... after some more experimentation, it seems that the actual font > used is in TextRange.Font.Name. Can anyone confirm? > > On Jan 10, 12:27 pm, josh.proje...(a)gmail.com wrote: > > Hello all, > > > > According to the VBA documentation, the TextRange.Font object stores > > several different font names (Font.Name, Font.NameAscii, > > Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a > > simple way to find out which one of those fonts is actually used to > > display a given chunk of text? > > > > I suppose it might be possible by checking the Unicode character range > > manually (for example, if the text contains Chinese/Japanese/Korean > > characters, the font specified by NameFarEast is used), but I'm not > > sure when NameComplexScript and NameOther would be used. > > > > Thanks in advance. > >
From: josh.projects on 10 Jan 2008 23:26
Got it, thanks very much. :) On Jan 10, 5:16 pm, John Wilson <john AT technologytrish.co DOT uk> wrote: > That should give you the name of the font > -- > Amazing PPT Hints, Tips and Tutorials > > http://www.PPTAlchemy.co.ukhttp://www.technologytrish.co.uk > email john AT technologytrish.co.uk > > "josh.proje...(a)gmail.com" wrote: > > Hmm... after some more experimentation, it seems that the actual font > > used is in TextRange.Font.Name. Can anyone confirm? > > > On Jan 10, 12:27 pm, josh.proje...(a)gmail.com wrote: > > > Hello all, > > > > According to the VBA documentation, the TextRange.Font object stores > > > several different font names (Font.Name, Font.NameAscii, > > > Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a > > > simple way to find out which one of those fonts is actually used to > > > display a given chunk of text? > > > > I suppose it might be possible by checking the Unicode character range > > > manually (for example, if the text contains Chinese/Japanese/Korean > > > characters, the font specified by NameFarEast is used), but I'm not > > > sure when NameComplexScript and NameOther would be used. > > > > Thanks in advance. |