cvs: phpdoc /kr/functions cpdf.xml
| From: | WonHee Hwang | Date: | Thu, 11 Jan 2001 04:42:51 +0000 |
| Subject: | cvs: phpdoc /kr/functions cpdf.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333555@lists.php.net to get a copy of this message | ||
regina Wed Jan 10 20:42:51 2001 EDT
Modified files:
/phpdoc/kr/functions cpdf.xml
Log:
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: phpdoc/kr/functions/cpdf.xml
diff -u phpdoc/kr/functions/cpdf.xml:1.1 phpdoc/kr/functions/cpdf.xml:1.2
--- phpdoc/kr/functions/cpdf.xml:1.1 Tue Jan 9 17:05:47 2001
+++ phpdoc/kr/functions/cpdf.xml Wed Jan 10 20:42:51 2001
@@ -1,56 +1,47 @@
- <reference id="ref.cpdf">
+ <reference id="ref.cpdf">
<title>ClibPDF functions</title>
<titleabbrev>ClibPDF</titleabbrev>
<partintro>
<simpara>
- ClibPDF lets you create PDF documents with PHP. It is available at
- <ulink url="&url.fastio;">FastIO</ulink> but it isn't free
- software. You should definitely read the licence before you start
- playing with ClibPDF. If you cannot fullfil the licence agreement
- consider using pdflib by Thomas Merz, which is also very powerful.
- ClibPDF functionality and API is similar to Thomas Merz's pdflib but,
- according to FastIO, ClibPDF is faster and creates smaller documents.
- This may have changed with the new version 2.0 of pdflib. A simple
- benchmark (the pdfclock.c example from pdflib 2.0 turned into a php
- script) actually shows no difference in speed at all. The file size
- is also similar if compression is turned off. So, try them both
- and see which one does the job for you.
+ ClibPDFë PHPìì pdf 문ì를 ë§ë¤ ì ìê² í´
ì¤ë¤.
+ ClibPDFë <ulink url="&url.fastio;">FastIO</ulink>ìì
구í ì ìì¼ë ê³µê°(free software)ë ìëë¤.
+ ì¬ë¬ë¶ì ClibPDF를 ì¬ì©í기 ì ì
ë¼ì´ì¼ì¤ë¥¼ ìì¸í ì½ì´ë´ì¼ í
ê²ì´ë¤.
+ ë§ì½ ì¬ë¬ë¶ì´ ì´ ë¼ì´ì¼ì¤ì
ëìí기를 ìíì§ ìì¼ë©´ Thomas Merzì pdflibì
ì¬ì©ì ê³ ë ¤ í ìë ìë¤.
+ pdflibë ìì ê°ë ¥í 기ë¥ì ê°ì§ê³ ìë¤.
ClibPDFë Thomas Merzì pdflibì 기ë¥ì´ë APIê° ë§¤ì°
ì ì¬íì§ë§,
+ FastIOì ë°ë¥´ë©´ ClibPDFë 문ì를 ë ìì
í¬ê¸°ë¡ ë ë¹ ë¥´ê² ë§ë¤ ì ìë¤ê³ íë¤.
+ ClibPDFë pdflib ìë¡ì´ 2.0 ë²ì ì ë³íí ê²
ê°ë¤.
+ ê°ë¨í ìì (pdflib 2.0ì pdfclock.c를 php
ì¤í¬ë¦½í¸ë¡ ê³ ì¹ ê²)ììë ì¤ì§ì ì¸
ìëì ì°¨ì´ë ììë¤.
+ ëí ìì¶ê¸°ë¥ì 꺼 ëì¼ë©´ ë ê°ì
íì¼ í¬ê¸°ë ë¹ì·íë¤.
</simpara>
<simpara>
- This documentation should be read alongside the ClibPDF manual since it
- explains the library in much greater detail.
+ ì¬ê¸°ì ì¤ëª
ì ClibPDFì 매ë´ì¼ê³¼ ê°ì´
ì½ë ê²ì´ ì¢ë¤.
+ ì´ ë§¤ë´ì¼ì ë¼ì´ë¸ë¬ë¦¬ì ëí´ ë
ìì¸í ì¤ëª
íê³ ìë¤.
+ ClibPDFì 매ë´ì¼ì ë´ì©ì ì´í´ì¬ì¼
PHPììì ì´ ë¼ì´ë¸ë¬ë¦¬ë¥¼ ì¬ì©í ì
ìì ê²ì´ë¤.
</simpara>
<simpara>
- Many functions in the native ClibPDF and the PHP module, as
- well as in pdflib, have the same name. All functions except for
- <function>cpdf_open</function> take the handle for the document as
- their first parameter.
+ ëë¶ë¶ì PHP 모ëì í¨ìì´ë¦ì ClibPDF
ê³ ì ì í¨ì(pdflibë ë§ì°¬ê°ì§ê³ ) ì´ë¦ê³¼
ëì¼íë¤.
+ <function>cpdf_open</function> ì ì ì¸í 모ë
í¨ìë¤ì 첫 ë²ì§¸ ì¸ìë¡ ìì
í
문ìì í¸ë¤ì ê°ì§ê² ëë¤.
</simpara>
<simpara>
- Currently this handle is not used internally since ClibPDF does
- not support the creation of several PDF documents at the same time.
- Actually, you should not even try it, the results are unpredictable. I
- can't oversee what the consequences in a multi threaded environment
- are. According to the author of ClibPDF this will change in one of
- the next releases (current version when this was written is 1.10).
- If you need this functionality use the pdflib module.
+ íì¬ ClibPDFê° ëìì ì¬ë¬ê°ì PDF 문ì를
ë§ë¤ì§ 못í기 ë문ì ì´ í¸ë¤ì
ë´ë¶ì ì¼ë¡ ì무 ìë¯¸ê° ìë¤.
+ ê·¸ë¬ë ì´ë¥¼ ìííì§ë ë§ë¼. ì´ë¤
ê²°ê³¼ê° ëì¬ì§ ì ì ìë¤.
+ ë구ë ë©í° ì°ë ë íê²½ììë
ì¤ëí ì¤ë¥ê° ì길 ìë ìë¤.
+ ClibPDFì ì ììì ë°ë¥´ë©´ ì´ ë´ì©ì ë¤ì
ë²ì ìì ìì ë ê²ì´ë¼ê³ íë¤.(íì¬
ë²ì ì 1.10ì´ë¤.)
+ ì¬ë¬ë¬¸ì를 ëìì ë§ëë 기ë¥ì´
íìíë¤ë©´ pdflib moduleì ì¬ì©íëë¡ íë¼.
</simpara>
<note>
<simpara>
- The function <function>cpdf_set_font</function> has changed since PHP 3
- to support asian fonts. The encoding parameter is no longer an integer
- but a string.
+ PHP3 ì´íë¡ <function>cpdf_set_font</function> í¨ìë
2byteì ììì í°í¸ë¥¼ ì§ìíëë¡
ë°ëìë¤.
+ ê·¸ë¦¬ê³ , ì´ í¨ìì ìì½ë© íë¼ë©í°ë
ì´ì ì ìê°ì´ ìëê³ ë¬¸ìì´ì´ë¤.
</simpara>
</note>
<simpara>
- One big advantage of ClibPDF over pdflib used to be the possibility
- to create
- the pdf document completely in memory without using temporary files.
- It also provides the ability to pass coordinates in a predefined
- unit length. This is a handy feature but can be simulated with
- <function>pdf_translate</function>.
+ pdflibì ë¹í´ì ClibPDFì ê°ì¥ í° ì¥ì ì pdf
문ì를 ìì íì¼ì
+ ì¬ì©íì§ ìê³ ë©ëª¨ë¦¬ ììì ë§ë¤ ì
ìë¤ë ì ì´ë¤.
+ ëí ClibPDFë 미리 ì ìë ì ë 길ì´ì
ì¢í를 ëê²¨ì¤ ì ìë¤.
+ ì´ê²ì 매ì í¸ë¦¬í 기ë¥ì´ì§ë§
pdflibììë <function>pdf_translate</function>를
ì¬ì©íë©´ ë¹ì·í 기ë¥ì ì§ìí ì
ìë¤.
</simpara>
<simpara>
Another nice feature of ClibPDF is the fact that any page can be modified
@@ -59,11 +50,10 @@
page and presume modifying an other page.
</simpara>
<simpara>
- Most of the functions are fairly easy to use. The most difficult part
- is probably creating a very simple PDF document at all. The following
- example should help you to get started. It creates a document
- with one page. The page contains the text "Times-Roman" in an
- outlined 30pt font. The text is underlined.
+ ëë¶ë¶ì í¨ìë¤ì ì¬ì©í기 ì½ë¤.
ê°ë¨í pdf 문ì를 íë ë§ë¤ì´ë³´ë©´
+ ë³ë¡ ì´ë µì§ ìë¤ë ê²ì ì ì ìì
ê²ì´ë¤. ë¤ì ì를 ë³´ë©´ ì½ê² ììí ì
ìë¤.
+ ì´ ìì ì í ì¥ì§ë¦¬ test.pdfë¼ë íì¼ì
ë§ëë ê²ì´ë¤.
+ ì´ íì´ì§ìë ì¸ê³½ì 30ptì "Times-Roman"
í°í¸ì textê° ì°ì¬ì§ë¤. ì´ textë ë°ì¤ì´
ê·¸ì´ì§ë¤.
</simpara>
<example>
<title>Simple ClibPDF Example</title>
@@ -88,9 +78,8 @@
</programlisting>
</example>
<simpara>
- The pdflib distribution contains a more complex example which creates a
- series of pages with an analog clock. Here is that example converted
- into PHP using the ClibPDF extension:
+ pdflib ë°°í¬ë³¸ì ë³´ë©´ ìëë¡ê·¸ ìê³ê°
í¬í¨ë ì¬ë¬ íì´ì§ì 문ì를 ë§ëë
ì¡°ê¸ì ë³µì¡í ìì ê° ìë¤.
+ ìë ìì ë ê·¸ ìì 를 ClibPDF íì¥ì
ì¬ì©í PHPë¡ ë³íí ê²ì´ë¤. :
</simpara>
<example>
<title>pdfclock example from pdflib 2.0 distribution</title>