PAG官网 | PAG动效

PAG官网 | PAG动效

  • 首页
  • 产品
  • 功能
  • 文档
  • 案例
  • CN
  • GitHub
  • 论坛交流
  • 免费下载
  • Languages iconEN
    • CN

›导出插件

了解 PAG

  • Introduction
  • FAQs

快速开始

  • Install PAGViewer
  • Install PAGExporter
  • Export PAG Files
  • SDK Integration

导出插件

  • Use Configuration Panel
  • Use Exporting Panel
  • Export BMP Compositions
  • Config Fill Modes
  • Config Time Stretch Modes
  • Exporting Shortcut Keys
  • Error Code
  • Auto Detection Rules
  • Text Editing Rules
  • Add Text Background
  • Export Audio
  • Manually Install PAGExporter

预览工具

  • Preview Replacements
  • View File Structure
  • Preview Shortcut Keys
  • Export Image Sequence
  • File Encryption
  • Add Watermark
  • Upgrade to Beta Version

性能优化

  • Use Performance Panel
  • PAG File Optimization

移动端进阶

  • Common API Overview
  • Use PAGImageView
  • Video Replacement
  • Play Audio
  • Text Layer Description
  • Use Encripted File
  • Export To Video
  • SDK Authentication

Web 进阶

  • SDK Installation
  • Load PAG File
  • Play PAG File
  • Platform Capabilities
  • Use WebWorker

API 参考

  • API Document

视频教程

  • PAG Workflow
  • File Optimization Best Practices
  • Use PAGExporter Panel
  • PAG Online Q&A

资源下载

  • PAGViewer Installer
  • PAG Test Files
  • PAG Demo Projects
  • China LiveVideoStackCon2022
  • PAG Conversion Tool
  • PAG File Format Spec

TAVMedia

  • Introduction to TAVMedia
  • TAVMedia Quick access
  • Common API Overview

其他

  • From Lottie To PAG
  • PAG Dictionary

Text Editing Rules

Text-Related Production Rules:

Non-editable text

It is recommended to convert non-editable text to a shape layer (right-click to create a shape from text); if you use a special font that is not specified, you also need to convert it to a shape layer to preserve the font effect.

Editable text

Editable text (i.e., there is a need for text content to be replaced) is made with a text layer.

Point Text and Box Text

Text layers in AE are divided into point text and box text. Point text does not automatically wrap, while box text does. The point text in PAG is completely consistent with the layout presented in AE, but the box text may be inconsistent with the display in AE because PAG has two additional layout rules:

  • When the height of the box text is insufficient, PAG will automatically reduce the font size to fit all the text inside the box.
  • When the height of the box text exceeds the number of lines of text, PAG will force all text to be displayed vertically centered.

Therefore, if your text does not need to wrap automatically, you can use point text. If you need to wrap automatically and default to vertical centering, you can use box text. If you do not want PAG to automatically reduce the font size but can accept vertical centering, you can set the height of the text box in AE to be large enough so that PAG will not reduce the font size. If you need to wrap automatically but do not want vertical centering to affect the layout, there are two cases: 1. If the explicit number of text characters is fixed or only possible to increase, you can reduce the height of the text box in AE to the critical point where all the initial text fits (i.e., one more pixel reduction will result in a clipped text line), so that the box text in PAG will be displayed consistently with the layout in AE. 2. If the number of text characters is not fixed and you want the text to wrap automatically and align to the top, there is currently no such switch option. However, you can create point text and then control the text wrapping in PAG with code by manually adding line breaks \n to the text.

← Auto Detection RulesAdd Text Background →
  • Text-Related Production Rules:
    • Non-editable text
    • Editable text
    • Point Text and Box Text
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Privacy Policy
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
隐私政策
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Privacy Policy
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
隐私政策