解析PSD文件找不到字体信息

  • 1
  • Problem
  • Updated 11 months ago
我在解析psd文件,但是ps5.5以上的版本使用的格式发生改变,放到了"TySh"中,我按照官方文档解析进去,没有找到字体信息,请问应该如何查找?
Photo of sancike

sancike

  • 3 Posts
  • 0 Reply Likes

Posted 11 months ago

  • 1
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17063 Posts
  • 2905 Reply Likes
Translated: I am parsing the psd file, but the format used by the version above ps5.5 has changed. I put it in the "TySh". I parsed it according to the official documentation. I didn't find the font information. How should I find it?
Photo of sancike

sancike

  • 3 Posts
  • 0 Reply Likes
没明白,请问具体应该如何做?我是个开发工程师
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17063 Posts
  • 2905 Reply Likes
Translated: I don't understand, what should I do? I am a development engineer.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17063 Posts
  • 2905 Reply Likes
我已经请熟悉SDK的工程师发表评论。
Photo of Tom Ruark

Tom Ruark, Official Rep

  • 34 Posts
  • 15 Reply Likes
Did you pull apart the "descriptor" for the text data. Should be in there? Variable Text data (see See Descriptor structure)

你是否拆開了文本數據的“描述符”。 應該在那裡? 變量文本數據(請參閱參見描述符結構)
(Edited)
Photo of sancike

sancike

  • 3 Posts
  • 0 Reply Likes
我已经拆开了“ Descriptor structure ”,除了'tdta'=“RawData”,其它已经完全解析了。
最终确定了字体信息在RawData中。
现在我找到解开RawData的方案了,并将它解析成为了键值表,已经解决问题了。