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: Wed, 12 Nov 2008 22:04:03 +0100

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Aleksander Morgado (aleksander)
Attached to Project - GNU PDF Library
Summary - New unit tests for pdf_text_get_unicode() in the Text Module
Task Type - Sporadic Task
Category - Text Module
Status - NEXT
Assigned To - Operating System - All
Severity - Low
Priority - Normal
Reported Version - START
Due in Version - BASE-LAYER-0
Due Date - Undecided
Details - 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://gnupdf.org/Lib:Reference_Manual#Encoded_Text
Test Specification Document:
* http://gnupdf.org/Lib:Test_Specification_Document#pdf_text_get_unicode



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]