Betreffend:
LibreOffice 3.5.5.3 
Build-ID: 7122e39-92ed229-498d286-15e43b4-d70da21
Ich habe einen eigenen Font erstellt, der folgenden font-family-Namen hat: l"lala
Im Namen befindet sich also das Sonderzeichen ".
Zuerst habe ich ein ganz normales Dokument erstellt und abgespeichert.
Danach als XHTML exporiert.
Das Ergebnis ist leider buggy. Die font-family wird nicht richtig ausgewiesen. Das Ergebnis:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - 
see http://xml.openoffice.org/odf2xhtml for more info.--><head 
profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" 
content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title 
specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta 
name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" 
content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.issued" 
content="2012-08-25T18:59:49.26" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" 
content="2012-08-25T19:00:49.50" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" 
content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link 
rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" 
href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" 
href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" 
href="http://purl.org/dc/dcam/" hreflang="en"/><style type="text/css">
 @page { }
 table { border-collapse:collapse; border-spacing:0; empty-cells:show }
 td, th { vertical-align:top; font-size:12pt;}
 h1, h2, h3, h4, h5, h6 { clear:both }
 ol, ul { margin:0; padding:0;}
 li { list-style: none; margin:0; padding:0;}
 <!-- "li span.odfLiEnd" - IE 7 issue-->
 li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
 span.footnodeNumber { padding-right:1em; }
 span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; 
margin:0; border:0; padding:0; }
 * { margin:0;}
 .P1 { font-size:12pt; font-family:l"lala; writing-mode:page; }
 <!-- ODF styles with no properties representable as CSS -->
 { }
 </style></head><body dir="ltr" style="max-width:21.001cm;margin:2cm; margin-top:2cm; 
margin-bottom:2cm; margin-left:2cm; margin-right:2cm; writing-mode:lr-tb; "><p 
class="P1">ABCD</p></body></html>
Wie man hier bei .P1 sieht, steht der font-family-Name nicht unter Anführungszeichen. Öffnet man 
diese Datei mit einem Browser, wird der Text falsch dargestellt. Es wird nicht der Font l"lala 
verwendet.
Ich ändere nun .p1 auf:
 .P1 { font-size:12pt; font-family:'l"lala'; writing-mode:page; } 
Ich setze also den font-family-Namen unter einfache Anführungszeichen. Ich speichere die Änderung 
ab und rufe die Seite erneut mit einem Browser auf. Nun werden die Texte korrekt dargestellt.
Scheinbar werden beim Export Sonderzeichen in font-family-Namen nicht berücksichtigt.
Den Font l"lala gibts auf http://www.megafileupload.com/en/file/365503/laxala-ttf.html zum Download.
Backgroundinfos gibts auf 
http://phpforum.de/forum/showthread.php?s=f3fd183537cff068b1187cca3de4e188&t=271885
mfg friba
-- 
Informationen zum Abmelden: E-Mail an discuss+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert
Context
- [de-discuss] Bug LibreOffice Writer Export XHTML (3ter Versuch) · fritz bauer
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.