Files
help/source/text/shared/01/font_features.xhp
Christian Lohmaier 4453c0b2ed convert paragraphs with role="heading" & childelements to → h<level>
and also drop the language that was changed to implied previously/defaults to
en-US unless specified.

This change doesn't affect translations, only the content of the
paragraph/headings is extracted.

done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>.*?)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'

and manually undoing the one that uses <sup>in body that's not valid
according to the dtd in the h tags.

Change-Id: Ibd4aed3157ed168cd5005161575672a392e59202
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148797
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-03-16 15:18:30 +00:00

45 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<meta>
<topic id="opentyperesources" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">OpenType Font Features</title>
<filename>/text/shared/01/font_features.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id991541772077660">
<bookmark_value>font features</bookmark_value>
<bookmark_value>font features;OpenType</bookmark_value>
<bookmark_value>OpenType;font features</bookmark_value>
</bookmark>
<section id="fontresourcesentry">
<bookmark id="bm_id351541769624075" xml-lang="en-US" branch="hid/cui/ui/fontfeaturesdialog/FontFeaturesDialog" localize="false"/>
<bookmark id="bm_id351541769624075" xml-lang="en-US" branch="hid/cui/ui/fontfeaturesdialog/@@nowidget@@" localize="false"/>
<h1 id="hd_id581541769624076"><link href="text/shared/01/font_features.xhp">Font Features</link></h1>
<paragraph id="par_id501541769624078" role="paragraph" xml-lang="en-US"><variable id="variable name"><ahelp hid=".">Select and apply font typographical features to characters.</ahelp></variable></paragraph>
</section>
<section id="howtoget">
<embed href="text/shared/00/00040500.xhp#font"/>
<paragraph role="paragraph" id="par_id661541784477179" xml-lang="en-US">Then press <emph>Features...</emph></paragraph>
</section>
<paragraph role="paragraph" id="par_id321541773889428" xml-lang="en-US">%PRODUCTNAME supports OpenType font format. The two main benefits of the OpenType format are its cross-platform compatibility, and its ability to support widely expanded character sets and layout features, which provide richer linguistic support and advanced typographic control.</paragraph>
<paragraph xml-lang="en-US" id="par_id31541774826256" role="note">The features displayed in the Font Features dialog depends on the selected font.</paragraph>
<h2 id="hd_id81541778714507">Font features box</h2>
<paragraph role="paragraph" id="par_id991541778707882" xml-lang="en-US">The font features box contains the configurable features available for the font.</paragraph>
<h2 id="hd_id511541778721077">Font feature visualization window</h2>
<paragraph role="paragraph" id="par_id31541778666390" xml-lang="en-US">The feature visualization window displays a default text where the selected features can be inspected.</paragraph>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id801541774734588" xml-lang="en-US"><link href="https://en.wikipedia.org/wiki/OpenType">Wikipedia on OpenType</link></paragraph>
</section>
</body>
</helpdocument>