Better wording for comments in config

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/274
This commit is contained in:
Akira TAGOH 2021-06-25 21:30:08 +09:00
parent fd3eebad74
commit fe2fa4d1f4
15 changed files with 60 additions and 60 deletions

View File

@ -6,10 +6,10 @@
<match target="font"> <match target="font">
<test name="fonthashint"><bool>false</bool></test> <test name="fonthashint"><bool>false</bool></test>
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="autohint" mode="append"><bool>true</bool></edit> <edit name="autohint" mode="append"><bool>true</bool></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Use the Autohinter --> <!-- Use the Autohinter -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="autohint" mode="append"><bool>true</bool></edit> <edit name="autohint" mode="append"><bool>true</bool></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="hintstyle" mode="append"><const>hintfull</const></edit> <edit name="hintstyle" mode="append"><const>hintfull</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="hintstyle" mode="append"><const>hintmedium</const></edit> <edit name="hintstyle" mode="append"><const>hintmedium</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="hintstyle" mode="append"><const>hintnone</const></edit> <edit name="hintstyle" mode="append"><const>hintnone</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="hintstyle" mode="append"><const>hintslight</const></edit> <edit name="hintstyle" mode="append"><const>hintslight</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Disable sub-pixel rendering --> <!-- Disable sub-pixel rendering -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="rgba" mode="append"><const>none</const></edit> <edit name="rgba" mode="append"><const>none</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Enable sub-pixel rendering --> <!-- Enable sub-pixel rendering -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="rgba" mode="append"><const>bgr</const></edit> <edit name="rgba" mode="append"><const>bgr</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Enable sub-pixel rendering --> <!-- Enable sub-pixel rendering -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="rgba" mode="append"><const>rgb</const></edit> <edit name="rgba" mode="append"><const>rgb</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Enable sub-pixel rendering --> <!-- Enable sub-pixel rendering -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="rgba" mode="append"><const>vbgr</const></edit> <edit name="rgba" mode="append"><const>vbgr</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Enable sub-pixel rendering --> <!-- Enable sub-pixel rendering -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="rgba" mode="append"><const>vrgb</const></edit> <edit name="rgba" mode="append"><const>vrgb</const></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Disable hinting --> <!-- Disable hinting -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit name="hinting" mode="append"><bool>false</bool></edit> <edit name="hinting" mode="append"><bool>false</bool></edit>
</match> </match>

View File

@ -5,10 +5,10 @@
<!-- Use lcddefault as default for LCD filter --> <!-- Use lcddefault as default for LCD filter -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit mode="append" name="lcdfilter"> <edit mode="append" name="lcdfilter">
<const>lcddefault</const> <const>lcddefault</const>

View File

@ -5,10 +5,10 @@
<!-- Use lcdlegacy as default for LCD filter --> <!-- Use lcdlegacy as default for LCD filter -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit mode="append" name="lcdfilter"> <edit mode="append" name="lcdfilter">
<const>lcdlegacy</const> <const>lcdlegacy</const>

View File

@ -5,10 +5,10 @@
<!-- Use lcdlight as default for LCD filter --> <!-- Use lcdlight as default for LCD filter -->
<match target="pattern"> <match target="pattern">
<!-- <!--
This configuration is available on the major desktop environments. This sort of configuration is available on the major desktop environments
We shouldn't overwrite it with "assign" unconditionally. and we don't have to break it with "assign" unconditionally. however, we
Most clients may picks up the first value only. so using "append" want to set something for others. So we use "append" here to get this working
may simply works to avoid it. in both cases so that most clients would takes a look at the first place only.
--> -->
<edit mode="append" name="lcdfilter"> <edit mode="append" name="lcdfilter">
<const>lcdlight</const> <const>lcdlight</const>