aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-12-17 12:41:15 +0100
committerHans Bolinder <[email protected]>2013-01-02 10:15:17 +0100
commit7dec166430582f864e5afb6cc58b52679840e203 (patch)
treebdf63ee6e1947137d5dcfa7d290fcdd10c09701d /make
parent0f404435dea85b6dd796898d52f81d291cd8ac39 (diff)
downloadotp-7dec166430582f864e5afb6cc58b52679840e203.tar.gz
otp-7dec166430582f864e5afb6cc58b52679840e203.tar.bz2
otp-7dec166430582f864e5afb6cc58b52679840e203.zip
[erl_docgen] Use DejaVu fonts when generating PDF
A few examples in lib/stdlib/doc/src/unicode_usage.xml make use of Cyrillic characters.
Diffstat (limited to 'make')
-rw-r--r--make/otp.mk.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in
index f2c2cee767..90f448d4a0 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -252,6 +252,7 @@ XSLTPROC = @XSLTPROC@
FOP = @FOP@
DOCGEN=$(ERL_TOP)/lib/erl_docgen
+FOP_CONFIG = $(DOCGEN)/priv/fop.xconf
ifneq (,$(findstring $(origin SPECS_ESRC),$(DUBIOUS_ORIGINS)))
SPECS_ESRC = ../../src
@@ -308,5 +309,5 @@ $(MAN9DIR)/%.9: %.xml
escript $(DOCGEN)/priv/bin/codeline_preprocessing.escript $< $@
.fo.pdf:
- $(FOP) -fo $< -pdf $@
+ $(FOP) -c $(FOP_CONFIG) -fo $< -pdf $@