pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] [flyspray] New unit tests for pdf_text_get_unicode() in the


From: GNU PDF Library
Subject: [pdf-devel] [flyspray] New unit tests for pdf_text_get_unicode() in the Text Module
Date: Sat, 24 Jan 2009 22:26:52 +0100

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The changes are listed below.  For full 
information about what has changed, visit the URL and click the History tab.

FS#75 - New unit tests for pdf_text_get_unicode() in the Text Module
User who did this: Sylvain Beucler (beuc)
Task details edited:
-------
A new option was added to the pdf_text_get_unicode() function: 
PDF_TEXT_UNICODE_WITH_NUL_SUFFIX, with the purpose of adding a NUL suffix in 
the Unicode-encoded string you get when calling that function.

The last NUL suffix is of the same size as the base character size in each 
Unicode encoding:
* 1-NUL-byte for UTF-8
* 2-NUL-bytes for UTF-16BE, UTF-16LE, UTF-16HE
* 4-NUL-bytes for UTF-32BE, UTF-32LE, UTF-32HE

To test this option, 54 new cases were documented in the pdf_text_get_unicode 
group of tests, which are completely equivalent to the already existing 54 
cases, but with including the new PDF_TEXT_UNICODE_WITH_NUL_SUFFIX. The first 7 
new tests where already implemented, and are available in the following file:
* torture/unit/base/text/pdf-text-get-unicode.c


Library API:
* http://www.gnupdf.org/manuals/gnupdf.html/Encoded-Text.html
Test Specification Document:
* 
http://www.gnupdf.org/manuals/gnupdf-tsd.html/pdf_005ftext_005fget_005funicode.html


-------

More information can be found at the following URL:
http://www.gnupdf.org/flyspray/index.php?do=details&task_id=75

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]