Directory for PazPar2 configuration files.
+=item FONT_DIR
+
+Directory where DejaVu fonts are installed.
+
=item NONE
This is a dummy target used to explicitly state
'PATH_TO_ZEBRA' => '',
'USE_MEMCACHED' => 'no',
'MEMCACHED_SERVERS' => '127.0.0.1:11211',
- 'MEMCACHED_NAMESPACE' => 'KOHA'
+ 'MEMCACHED_NAMESPACE' => 'KOHA',
+ 'FONT_DIR' => '/usr/share/fonts/truetype/ttf-dejavu'
);
# set some default configuration options based on OS
$config{'MEMCACHED_NAMESPACE'} = _get_value('MEMCACHED_NAMESPACE', $msg, $defaults->{'MEMCACHED_NAMESPACE'}, $valid_values, $install_log_values);
}
+ $msg = q(Path to DejaVu fonts?);
+ $config{'FONT_DIR'} = _get_value('FONT_DIR', $msg, $defaults->{'FONT_DIR'}, $valid_values, $install_log_values);
$msg = q(
<!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
<ttf>
- <font type="TR" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
- <font type="TB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
- <font type="TI" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
- <font type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
- <font type="C" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
- <font type="CB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
- <font type="CO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
- <font type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
- <font type="H" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
- <font type="HO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf</font>
- <font type="HB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
- <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
+ <font type="TR" >__FONT_DIR__/DejaVuSerif.ttf</font>
+ <font type="TB" >__FONT_DIR__/DejaVuSerif-Bold.ttf</font>
+ <font type="TI" >__FONT_DIR__/DejaVuSerif-Italic.ttf</font>
+ <font type="TBI">__FONT_DIR__/DejaVuSerif-BoldItalic.ttf</font>
+ <font type="C" >__FONT_DIR__/DejaVuSansMono.ttf</font>
+ <font type="CB" >__FONT_DIR__/DejaVuSansMono-Bold.ttf</font>
+ <font type="CO" >__FONT_DIR__/DejaVuSansMono-Oblique.ttf</font>
+ <font type="CBO">__FONT_DIR__/DejaVuSansMono-BoldOblique.ttf</font>
+ <font type="H" >__FONT_DIR__/DejaVuSans.ttf</font>
+ <font type="HO" >__FONT_DIR__/DejaVuSans-Oblique.ttf</font>
+ <font type="HB" >__FONT_DIR__/DejaVuSans-Bold.ttf</font>
+ <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
</ttf>
</config>
"__USE_MEMCACHED__" => 'no',
"__MEMCACHED_SERVERS__" => "",
"__MEMCACHED_NAMESPACE__" => "",
+ "__FONT_DIR__" => "/usr/share/fonts/truetype/ttf-dejavu",
);
# Override configuration from the environment