brain2312
Goto Top

Text-Datei über Batch bearbeiten

Habe eine Text-Datei, die wie folgt aussieht:

<fop version="1.0">

<!--Noch ein Bissl Text dazwischen-->
<!-- <value>ascii-85</value> -->

<!-- encodes binary data with hex representation (default off)
This filter is not recommended as it doubles the data size -->
<!-- <value>ascii-hex</value> -->
</filterList>

<fonts>
<!-- embedded fonts -->
<!--
This information must exactly match the font specified
in the fo file. Otherwise it will use a default font.

For example,
<fo:inline font-family="Arial" font-weight="bold" font-style="normal">
Arial-normal-normal font
</fo:inline>
for the font triplet specified by:
<font-triplet name="Arial" style="normal" weight="bold"/>

If you do not want to embed the font in the pdf document
then do not include the "embed-url" attribute.
The font will be needed where the document is viewed
for it to be displayed properly.

possible styles: normal | italic | oblique | backslant
possible weights: normal | bold | 100 | 200 | 300 | 400
| 500 | 600 | 700 | 800 | 900
(normal = 400, bold = 700)
-->


<font metrics-url="file:\Pfad\arial.xml" kerning="yes" embed-url="file:\Pfad\arial.ttf">
<font-triplet name="Arial" style="normal" weight="normal"/>
<font-triplet name="ArialMT" style="normal" weight="normal"/>
</font>
<font metrics-url="file:\Pfad\arialbd.xml" kerning="yes" embed-url="file:\Pfad\arialbd.ttf">
<font-triplet name="Arial" style="normal" weight="bold"/>
<font-triplet name="ArialMT" style="normal" weight="normal"/>
</font>
<!--
<font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
<font-triplet name="Arial" style="normal" weight="bold"/>
<font-triplet name="ArialMT" style="normal" weight="bold"/>
</font>
-->
</fonts>


innerhalb des Tags <fonts></fonts> muss ich nun einen Text hinzufügen.

Wie mach ich das am geschicktesten?

Schonmal Dank im Vorraus
Gruß

Content-Key: 117000

Url: https://administrator.de/contentid/117000

Printed on: April 20, 2024 at 01:04 o'clock

Member: holzholer
holzholer Jun 02, 2009 at 10:27:17 (UTC)
Goto Top
Hallo,

würdest du bitte die < code > Tags nutzen um das ganze lesbarer zu gestalten?

Die Frage nach dem editieren von txt/ini/sonstwas Dateien würde hier schon sehr oft gestellt und auch beantwortet. Benutze mal die mit den Stichworten "suchen ersetzen" und du wirst recht viel finden.

Beste Grüße
Mitglied: 78632
78632 Jun 02, 2009 at 10:52:32 (UTC)
Goto Top
Zitat von @brain2312:
innerhalb des Tags <fonts></fonts> muss ich nun einen Text hinzufügen.
Wie mach ich das am geschicktesten?

Entweder mit einem HTML-Editor oder im einfachsten Fall mit Notepad.