ymcatwincities/fontyourface

网络字体管理工具。

安装: 61

依赖项: 0

建议者: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

类型:drupal-module

dev-8.x-3.x 2020-08-04 12:29 UTC

This package is auto-updated.

Last update: 2024-09-04 21:49:21 UTC


README

Build Status

本文件内容

  • 简介
  • 要求
  • 安装
  • 配置
  • 维护者

简介

@font-your-face 模块提供了一个管理界面,用于浏览和应用来自各种来源的网络字体(使用 CSS @font-face,在所有主流浏览器中均受支持)。

要求

此模块需要在 Drupal 核心之外满足以下要求

  • @font-your-face 子模块 Typekit 需要一个可以安全(SSL)连接到 Typekit.com 的服务器。

安装

配置

1. Navigate to Administration > Extend and enable the module and one or more
   of the submodules.
2. Navigate to Administration > Appearance > @font-your-face > settings and
   import the fonts.
3. Navigate to Administration > Appearance > @font-your-face
   (admin/appearance/font) to enable some fonts.
4. Select the 'enable font' for each font you want to use.
5. You can add CSS selectors for each enabled font via  Administration >
   Appearance > @font-your-face > Font Display
   (admin/appearance/font/font_display).

已知问题

  • 请注意,Internet Explorer 对 CSS 文件的限制为 32 个,因此在使用 CSS 丰富的网站上的 @font-your-face 可能需要打开“管理 > 配置 > 开发 > 性能”下的 CSS 聚合(admin/config/development/performance)。
  • 请注意,并非所有来自 Drupal 7 的模块都已迁移(字体引用、fontyourface wysiwyg)。非常感谢帮助。
  • Fonts.com api 有一些怪癖。您可能需要使用 fonts.com 网站,以便启用所有字体。
  • 有关此处未提及的任何问题的支持选项,请参阅 https://drupal.org/project/fontyourface#support

维护者

@font-your-face 由 Sliced Bread Labs 和 Aten Design Group 的 Scott Reynen 创建,并由 Scott 和 Baris Wanschers 的 LimoenGroen 开发。