summaryrefslogtreecommitdiff
path: root/systems/win32/bakoma/programs/pdffonts.html
blob: 039e8f7ebf5c1da3fbf4cc8d4373b1f0f486055f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<HTML><HEAD><TITLE>BaKoMa TeX - About - Graphics - PDF Fonts</TITLE>
<META http-equiv=content-type content=text/html;charset=iso-8859-1><LINK 
href="../images/stylesheet.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY background=../images/background.gif>
<TABLE class=header width="100%">
  <TBODY>
  <TR>
    <TD width=250 height=140><IMG 
      style="LEFT: 0px; POSITION: absolute; TOP: 0px" 
      src="../images/bakoma-tex.gif" align=center border=0> 
    <TD>True&nbsp;WYSIWYG LaTeX&nbsp;System </TR></TBODY></TABLE>
<P>
<TABLE cellPadding=8 width="100%">
  <TBODY>
  <TR>
    <TD vAlign=top width=225>
      <UL class=menulevel1>
        <LI class=docs><A 
        href="http://bakoma-tex.com/menu/about.php">&nbsp;About&nbsp;</A>
        <UL class=menulevel2>
          <LI class=doc><A 
          href="http://bakoma-tex.com/menu/texword.php">&nbsp;BaKoMa&nbsp;TeX&nbsp;Word&nbsp;</A>
          <LI class=doc><A 
          href="http://bakoma-tex.com/menu/centaur.php">&nbsp;Centaur&nbsp;+&nbsp;Dview&nbsp;</A>
          <LI class=docs><A 
          href="http://bakoma-tex.com/menu/graphics.php">&nbsp;Graphics&nbsp;</A>
          <UL class=menulevel3>
            <LI class=sdoc>&nbsp;PDF&nbsp;Fonts</LI></UL>
          <LI class=doc><A 
          href="http://bakoma-tex.com/menu/screenshots.php">&nbsp;Screenshots&nbsp;</A>
          <LI class=doc><A 
          href="http://bakoma-tex.com/menu/samples.php">&nbsp;Samples&nbsp;</A></LI></UL>
        <LI class=docs><A 
        href="http://bakoma-tex.com/menu/download.php">&nbsp;Downloads&nbsp;</A>
        <LI class=docs><A 
        href="http://bakoma-tex.com/menu/purchase.php">&nbsp;Purchase&nbsp;</A>
        <LI class=docs><A 
        href="http://bakoma-tex.com/menu/support.php">&nbsp;Support&nbsp;</A></LI></UL></TD>
    <TD vAlign=top width=*>

<H2>Generating PDF files with shared fonts</H2>

<H3>Contents</H3>
<UL>
<LI><a href="#Introduction">Introduction</a>
<LI><a href="#Efficiency">Efficiency of the method</a>
<LI><a href="#Compatibility">Compatibility with another Software</a>
<LI><a href="#Using">Generating such PDF's by using BaKoMa TeX</a>
</UL>

<a name="Introduction"><H3>Introduction</H3></a>
Specification of PDF 1.2 enables storing streams in external files.
The streams, are used to embed Images, Page Descriptions,
Fonts, etc. into PDF files. 
When creating document collection,
storing an information shared by several PDF files
into external files is resonable approach.
In practice, only fonts are a crutial material used by many PDF files 
in the same PDF collection.
<P>
BaKoMa TeX 2.21 supports generating PDF files with embeding fonts
via external streams stored into common directory.

<a name="Efficiency"><H3>Efficiency of the method</H3></a>
This feature ables to create documents that share fonts. 
Such approach can drastically reduce size of document 
colections that include large number of PDF files.
For example, typical conference procedengs (25 articles each is less 
then 10 pages in Computer Modern Fonts) processed with this approach 
requires 3 times less disk space then processed with partial font 
embedding into every article.
<P>
It is important that size of font-less PDF files are comparable with
size of DVI files. 
This hint is useful to estimate size of a document collections.

<a name="Compatibility"><H3>Compatibility with another software</H3></a>
PDF files refered on external streams can be handled by following
browsers:
<UL>
<LI>Acrobat Reader 3.0 and later handle this feature.
<LI>GhostScript - beginning from version 5.25 it has code that must 
    handle external streams. However, version&nbsp;5.50 has some error in 
    implementation of this feature. 
    I hope, it will be fixed in version&nbsp;6.0,
<LI>PDFtoPS (XPDF) don't understand this feature.
</UL>

It is important, that this method is usefull for distribution
of documents via CD-ROMs.
However, this method is unusefull for uploading documents
on WWW servers. The reason is that some PDF browsers can't handle 
font downloading via network.

<a name="Using"><H3>Generating such PDF's by using BaKoMa TeX</H3></a>
Beginning from version 2.21 you can generate collection of 
PDF files that share fonts between each other.
Sharing fonts is implemented by embedding fonts via external streams
that are placed into separate directory.
<P>
To enable this feature choose `<B>Embed to directory</B>' option
in PDF generation dialog.
This option is available when <B>PDFFonts</B> subdirectory exists
anywhere in: <I>current directory</I>, <I>parent directory</I>,
<I>grand parent directory</I>, etc.
<P>
When font sharing is performed by BaKoMa TeX,
fonts are placed into found <B>PDFFonts</B> directory,
and <B><I>relative references</I></B> on the fonts are placed into PDF files.
In this reason, PDF files can be freely moved together with <B>PDFFonts</B> 
directory and with preserving subdirectory structure.
<P>
<HR>
<P>
Date: 3-Dec-1999.<BR>
Author: Basil K. Malyshev.
<P>
<HR>


</TD></TR></TBODY></TABLE>
<P><BR>
<TABLE width="100%">
  <TBODY>
  <TR>
    <TD width=130>
    <TD>
      <TABLE class=reference width="100%">
        <TBODY>
        <TR>
          <TD align=left>BaKoMa TeX &gt; About &gt; Graphics &gt; PDF Fonts 
            [OFFLINE]
          <TD align=right>Copyright © 1998-2009, Basil K. Malyshev.
  </TR></TBODY></TABLE></TR></TBODY></TABLE>
</P></BODY></HTML>