Microsoft KB Archive/829213

From BetaArchive Wiki

Article ID: 829213

Article Last Modified on 8/22/2006



APPLIES TO

  • Microsoft Windows CE .NET 4.2




SYMPTOMS

When you use Microsoft Windows CE PDF Viewer to view the following types of language file, the text in the file does not appear correctly:

  • Adobe .pdf files in the following languages: Korean, Japanese, Chinese (Simplified) and Chinese (Traditional).
  • Adobe .pdf files in the previous languages that contain Adobe Type 1 and Adobe Type 3 fonts.


CAUSE

This problem occurs because PDF Viewer does not support Adobe Type 1 and Adobe Type 3 font mapping.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE 4.2 Platform Builder Monthly Update (829213). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:

Product version-yymmdd-kbnnnnnn-processor type


For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products


Prerequisites

This fix is supported only when all previously issued fixes for this product have also been installed.

Restart Requirement

After you install this update, you must clean and build the whole platform.

Hotfix Replacement Information

This hotfix does not replace any other hotfixes.

File Information

The English version of this package has the file attributes (or later) that are listed in the following table.

   Date         Time   Version            Size    File name
   ---------------------------------------------------------------------------------------

   30-Dec-2003  21:28  4.21            2,554,608  Wincepb42-031230-kb829213-armv4.exe  
   30-Dec-2003  21:28  4.21            2,554,608  Wincepb42-031230-kb829213-armv4i.exe
   30-Dec-2003  21:28  4.21            2,575,088  Wincepb42-031230-kb829213-mipsii.exe
   30-Dec-2003  21:28  4.21            2,575,088  Wincepb42-031230-kb829213-mipsii_fp.exe
   30-Dec-2003  21:28  4.21            2,579,184  Wincepb42-031230-kb829213-mipsiv.exe
   30-Dec-2003  21:28  4.21            2,579,184  Wincepb42-031230-kb829213-mipsiv_fp.exe
   30-Dec-2003  21:28  4.21            2,542,320  Wincepb42-031230-kb829213-sh3.exe
   30-Dec-2003  21:28  4.21            2,538,224  Wincepb42-031230-kb829213-sh4.exe
   30-Dec-2003  21:28  4.21            2,489,072  Wincepb42-031230-kb829213-x86.exe

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

   Date         Time   Version            Size    File name
   --------------------------------------------------------------

   Path: Public\Viewers\Cesysgen
   13-Nov-2003  20:18                     11,333  Makefile

   Path: Public\Viewers\Oak\Files\Pdfviewertbls
   10-Sep-2001  08:30                    112,437  90ms-rksj-ucs2
   10-Sep-2001  08:30                      2,091  90pv-rksj-ucs2
   10-Sep-2001  08:30                    102,902  90pv-rksj-ucs2c
   10-Sep-2001  08:30                    242,865  Adobe-cns1-ucs2
   10-Sep-2001  08:30                    219,755  Adobe-gb1-ucs2
   31-Oct-2001  23:25                    194,633  Adobe-japan1-ucs2
   10-Sep-2001  08:30                    145,648  Adobe-korea1-ucs2
   10-Sep-2001  08:30                      1,484  B5pc-ucs2
   10-Sep-2001  08:30                    271,782  B5pc-ucs2c
   10-Sep-2001  08:30                    275,462  Eten-b5-ucs2
   10-Sep-2001  08:30                    223,084  Gbk-euc-ucs2
   10-Sep-2001  08:30                      1,566  Gbpc-euc-ucs2
   10-Sep-2001  08:30                    141,593  Gbpc-euc-ucs2c
   10-Sep-2001  08:30                    181,397  Kscms-uhc-ucs2
   10-Sep-2001  08:30                     16,037  Kscpc-euc-ucs2
   10-Sep-2001  08:30                    149,898  Kscpc-euc-ucs2c

   Path: Public\Viewers\Oak\Lib\Armv4\Debug
   19-Nov-2003  02:21                  1,821,362  Pdfreader.lib
   19-Nov-2003  02:21                    126,976  Pdfreader.pdb
   19-Nov-2003  02:21                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Armv4\Retail
   19-Nov-2003  02:21                  1,701,510  Pdfreader.lib
   19-Nov-2003  02:21                    126,976  Pdfreader.pdb
   19-Nov-2003  02:21                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Armv4i\Debug
   19-Nov-2003  02:21                  1,823,056  Pdfreader.lib
   19-Nov-2003  02:21                    126,976  Pdfreader.pdb
   19-Nov-2003  02:21                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Armv4i\Retail
   19-Nov-2003  02:21                  1,702,438  Pdfreader.lib
   19-Nov-2003  02:21                    126,976  Pdfreader.pdb
   19-Nov-2003  02:21                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsii\Debug
   19-Nov-2003  02:22                  1,840,264  Pdfreader.lib
   19-Nov-2003  02:22                    126,976  Pdfreader.pdb
   19-Nov-2003  02:22                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsii\Retail
   19-Nov-2003  02:21                  1,717,912  Pdfreader.lib
   19-Nov-2003  02:21                    126,976  Pdfreader.pdb
   19-Nov-2003  02:21                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsii_fp\Debug
   19-Nov-2003  02:22                  1,840,616  Pdfreader.lib
   19-Nov-2003  02:22                    126,976  Pdfreader.pdb
   19-Nov-2003  02:22                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsii_fp\Retail
   19-Nov-2003  02:22                  1,717,884  Pdfreader.lib
   19-Nov-2003  02:22                    126,976  Pdfreader.pdb
   19-Nov-2003  02:22                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsiv\Debug
   19-Nov-2003  02:22                  1,849,416  Pdfreader.lib
   19-Nov-2003  02:22                    126,976  Pdfreader.pdb
   19-Nov-2003  02:22                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsiv\Retail
   19-Nov-2003  02:22                  1,723,532  Pdfreader.lib
   19-Nov-2003  02:22                    126,976  Pdfreader.pdb
   19-Nov-2003  02:22                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsiv_fp\Debug
   19-Nov-2003  02:23                  1,848,478  Pdfreader.lib
   19-Nov-2003  02:23                    126,976  Pdfreader.pdb
   19-Nov-2003  02:23                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Mipsiv_fp\Retail
   19-Nov-2003  02:23                  1,722,566  Pdfreader.lib
   19-Nov-2003  02:23                    126,976  Pdfreader.pdb
   19-Nov-2003  02:23                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Sh3\Debug
   19-Nov-2003  02:23                  1,734,260  Pdfreader.lib
   19-Nov-2003  02:23                    126,976  Pdfreader.pdb
   19-Nov-2003  02:23                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Sh3\Retail
   19-Nov-2003  02:23                  1,642,490  Pdfreader.lib
   19-Nov-2003  02:23                    126,976  Pdfreader.pdb
   19-Nov-2003  02:23                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Sh4\Debug
   19-Nov-2003  02:24                  1,732,814  Pdfreader.lib
   19-Nov-2003  02:24                    126,976  Pdfreader.pdb
   19-Nov-2003  02:24                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\Sh4\Retail
   19-Nov-2003  02:23                  1,639,540  Pdfreader.lib
   19-Nov-2003  02:23                    126,976  Pdfreader.pdb
   19-Nov-2003  02:23                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\X86\Debug
   19-Nov-2003  02:20                  1,686,544  Pdfreader.lib
   19-Nov-2003  02:20                    126,976  Pdfreader.pdb
   19-Nov-2003  02:20                         32  Pdfreader.res

   Path: Public\Viewers\Oak\Lib\X86\Retail
   19-Nov-2003  02:20                  1,612,012  Pdfreader.lib
   19-Nov-2003  02:20                    126,976  Pdfreader.pdb
   19-Nov-2003  02:20                         32  Pdfreader.res

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This PDF Viewer update adds character mapping support for the languages that are listed earlier by using the predefined Adobe character mapping files (CMAPs). PDF Viewer uses these CMAPs to map from the character index that is used in a document to a matching TrueType glyph. The CMAP uses the Unicode value of the glyph.

When you open a document that requires a predefined mapping, PDF Viewer tries to locate the appropriate character mapping file in the Windows directory.

Required files for character mapping

A total of 16 predefined CMAPs are provided (four files for each of the four Far East languages). The following table lists the files that are required for each language:

Japanese Adobe-Japan1-UCS2

90ms-RKSJ-UCS2
90pv-RKSJ-UCS2
90pv-RKSJ-UCS2C

Korean Adobe-Korea1-UCS2

KSCms-UHC-UCS2
KSCpc-EUC-UCS2
KSCpc-EUC-UCS2C

Chinese Simplified Adobe-GB1-UCS2

GBK-EUC-UCS2
GBpc-EUC-UCS2
GBpc-EUC-UCS2C

Chinese Traditional Adobe-CNS1-UCS2

ETen-B5-UCS2
B5pc-UCS2
B5pc-UCS2C

Important These tables are not automatically added to the image when the Microsoft PDF Viewer is selected. The files exist in the following location:

%_WINCEROOT%\Public\Viewers\Oak\Files\PDFViewertbls


During the build process, all the files are copied to the following location:

%_FLATRELEASEDIR%


The OEM can do the following to include the required files:

  • Use a modified Project.bib file to include the required files.
  • Add the files only to the FILES section of the .bib file.
  • By default, compress the files to save space.

Following is the list of files that must be added to the .bib file to support Japanese fonts in PDF files:

Adobe-Japan1-UCS2    %_FLATRELEASEDIR%\Adobe-Japan1-UCS2   NK
90ms-RKSJ-UCS2        %_FLATRELEASEDIR%\90ms-RKSJ-UCS2      NK
90pv-RKSJ-UCS2       %_FLATRELEASEDIR%\90pv-RKSJ-UCS2      NK
90pv-RKSJ-UCS2C      %_FLATRELEASEDIR%\90pv-RKSJ-UCS2C     NK

Additional enhancements

This update to the PDF Viewer program also includes the following:

  • Permits PDF files that were created by using Crystal Reports to be opened.
  • Permits European characters to be mapped to the correct Unicode value.
  • Supports demand loading of pages to provide faster document load times.


Keywords: kbexpertiseadvanced kbfix kbqfe KB829213