0

我一直在使用我的 WL 应用程序的两个版本;一个用于 UAT,另一个用于生产。从几天开始,我只在 UAT 版本中收到此错误。但是,两个版本的代码保持不变。

正因为如此,UAT App 字体变得不同了。

我正在 使用 CSS使用BentonHelvetica

@font-face {
  font-family: 'HelveticaNeueLTStd-Roman';
  src: url('fonts/helveticaneueltstdroman/helveticaneueltstdroman.eot');
  src: url('fonts/helveticaneueltstdroman/helveticaneueltstdroman.eot?#iefix') format('embedded-opentype'), url('fonts/helveticaneueltstdroman/helveticaneueltstdroman.woff') format('woff'), url('fonts/helveticaneueltstdroman/helveticaneueltstdroman.ttf') format('truetype'), url('fonts/helveticaneueltstdroman/helveticaneueltstdroman.svg#helveticaneueltstdroman') format('svg');
}
@font-face {
    font-family: 'BentonSansBold';
    src: url('fonts/Benton/bentonsans-bold.eot');
    src: url('fonts/Benton/bentonsans-bold.eot') format('embedded-opentype'),
         url('fonts/Benton/bentonsans-bold.woff') format('woff'),
         url('fonts/Benton/bentonsans-bold.ttf') format('truetype'),
         url('fonts/Benton/bentonsans-bold.svg#BentonSansBold') format('svg');
}
@font-face {
    font-family: 'BentonSansRegular';
    src: url('fonts/Benton/bentonsans-regular.eot');
    src: url('fonts/Benton/bentonsans-regular.eot') format('embedded-opentype'),
         url('fonts/Benton/bentonsans-regular.woff') format('woff'),
         url('fonts/Benton/bentonsans-regular.ttf') format('truetype'),
         url('fonts/Benton/bentonsans-regular.svg#BentonSansRegular') format('svg');
}

下面是错误信息

May  9 10:56:22 iPhone abcApp[7054] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: [LOG] ondeviceready event dispatched\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: \{\
        appVersionPref = "1.0";\
        freeSpace = 13073145856;\
        wlSkinLoaderChecksum = "(null)";\
        wlSkinName = default;\
    \}\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: [LOG] Application did not define an i18n messages object, skipping translation.\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: [LOG] wlclient init started\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: [LOG] Read cookies: null\
May  9 10:56:26 iPhone abcApp[7054] <Warning>: [LOG] CookieMgr read cookies: \{\}\
May  9 10:56:26 iPhone abcApp[7054] <Error>: FT_Open_Face failed: error 2.\
May  9 10:56:27 iPhone abcApp[7054] <Warning>: [LOG] Request [http://172.20.10.6:9082/myApp/apps/services/api/abcApp/iphone/init]\
May  9 10:56:30 iPhone abcApp[7054] <Warning>: [LOG] indicatorIdx =4122\

我读了这个并寻找丢失的字体文件。但是所有文件都在那里。

任何建议,这里可能会出现什么问题?

谢谢

4

1 回答 1

0

Abdul,正如您所说,这只发生在您的机器上,而不是其他开发人员的机器上,这听起来更像是一个环境问题,而不是其他任何事情。

我还发现了以下问题:Adding custom fonts to my iphone application

于 2013-09-29T05:38:39.450 回答