"Mikolaj Zalewski" <[EMAIL PROTECTED]> wrote:

As I wrote in Bugzilla for Photoshop to work with Type1 fonts after
applying this patch one needs to reinstall Photoshop in a clean
wineprefix - it seems that Photoshop caches some font data.

+            /* check for the presence of the 'CFF ' table to check if the font 
is Type1 */
+            tmp_size = 0;
+            if (pFT_Load_Sfnt_Table && !pFT_Load_Sfnt_Table(ft_face, 0x43464620, 
0, NULL, &tmp_size))
+            {
+                TRACE("Font %s/%p is OTF Type1\n", wine_dbgstr_a(file), 
font_data_ptr);
+                face->ntmFlags = NTM_PS_OPENTYPE;
+            }

Please use a symbolic name instead of 0x43464620. FreeType provides TTAG_CFF,
or you can define it on your own using FT_MAKE_TAG.

--
Dmitry.


Reply via email to