[scribus] Find a font

Owen rcook at pcug.org.au
Mon Mar 15 04:18:51 CET 2010


> On Sun, 14 Mar 2010 17:11:07 -0400
> Gregory Pittman <gregp_ky at yahoo.com> dijo:
>
>>> Have I missed some obvious way to find all instances of where a
>>> font
>>> is used in the entire document?
>
>>Personally, I would scan the file with a text editor looking for
>>instances of the word. It may have gotten assigned as a default font
>>somewhere even though it was not actually used in a real sense.
>
> Now, why didn't I think of that?
>
> I opened the file in Gedit, which found half a dozen instances of the
> word "Arial." Unfortunately, I still have no idea where the font
> occurs
> in the document. Gedit found "Arial" in several blocks like this:
>
>  <PAGEOBJECT OwnPage="0" PTYPE="4" XPOS="995.787" YPOS="465.625"
>  WIDTH="53.1053" HEIGHT="46.75" RADRECT="0" FRTYPE="0" CLIPEDIT="0"
>  PWIDTH="1" PCOLOR="None" PCOLOR2="None" TXTFILL="Black"
>  TXTSTROKE="Black" TXTSTRSH="100" TXTFILLSH="100" TXTSCALE="100"
>  TXTSCALEV="100" TXTBASE="0" TXTSHX="5" TXTSHY="-5" TXTOUT="1"
>  TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" COLUMNS="1"
>  COLGAP="0" NAMEDLST="" SHADE="100" SHADE2="100" GRTYP="0" ROT="0"
>  PLINEART="1" PLINEEND="0" PLINEJOIN="0" LINESP="15" LINESPMode="0"
>  LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" PICART="1"
> PLTSHOW="0"
>  BASEOF="0" textPathType="0" textPathFlipped="0" FLIPPEDH="0"
>  FLIPPEDV="0" IFONT="Arial Regular" ISIZE="12" SCALETYPE="1" RATIO="1"
>  PRINTABLE="1" ANNOTATION="0" ANNAME="" TEXTFLOWMODE="0" TEXTFLOW="0"
>  TEXTFLOW2="0" TEXTFLOW3="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0"
>  BEXTRA="0" REXTRA="0" FLOP="0" PFILE="" PFILE2="" PFILE3="" PRFILE=""
>  EPROF="" IRENDER="1" EMBEDDED="1" LOCK="0" LOCKR="0" REVERS="0"
>  TransValue="0" TransValueS="0" TransBlend="0" TransBlendS="0"
>  isTableItem="0" TopLine="0" LeftLine="0" RightLine="0" BottomLine="0"
>  isGroupControl="0" NUMDASH="0" DASHS="" DASHOFF="0" NUMPO="16"
>  POCOOR="0 0 0 0 53.1053 0 53.1053 0 53.1053 0 53.1053 0 53.1053 46.75
>  53.1053 46.75 53.1053 46.75 53.1053 46.75 0 46.75 0 46.75 0 46.75 0
>  46.75 0 0 0 0 " NUMCO="16" COCOOR="0 0 0 0 53.1053 0 53.1053 0
> 53.1053
>  0 53.1053 0 53.1053 46.75 53.1053 46.75 53.1053 46.75 53.1053 46.75 0
>  46.75 0 46.75 0 46.75 0 46.75 0 0 0 0 " NUMGROUP="0" GROUPS=""
>  startArrowIndex="0" endArrowIndex="0" OnMasterPage="" ImageClip=""
>  ImageRes="1" Pagenumber="0" isInline="0" fillRule="1" doOverprint="0"
>  gXpos="838.187" gYpos="159.599" gWidth="1160.94404375"
>  gHeight="6248.862" ALIGN="0" LAYER="0" BOOKMARK="0" NEXTITEM="-1"
>  BACKITEM="-1">
>
> I read through the above looking for some clue as to which page the
> font occurs on, but figuring it out is beyond my capability. I note
> the
> "Pagenumber="0" text in the above, but all the blocks said the same
> thing, plus, there is no "page 0" in the document.
>
> The only positive clue I have is that the last instance where Gedit
> found "Arial" was in a block of text that I actually wrote myself. (I
> was explaining to the reader about using Arial in OOo formulas.) And
> that instance occurs on page 10. All the rest of the instances were in
> blocks like the above, and occurred earlier. So maybe that means that
> the text that is set to Arial is somewhere in the first ten pages. Or
> maybe not. Or maybe it is in one of the half a dozen master pages.
>
> Well, at least now I know that Scribus is not making it up. The
> document
> does contain some text that is set to Arial Regular. Still trying to
> figure out how to find it without opening over a hundred stories one
> at
> a time in Story Editor.




Well why not try simply deleting those blocks and see what happens.
(have a back up of course)


-- 



Owen





More information about the scribus mailing list