Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@ibm/plex-sans-thai
Advanced tools
Please download the latest zip files from our releases page for installation.
This project contains the following for web development:
We only include .woff2 and .woff files due to NPM package size limitation.
Installation with Node.js®:
npm install @ibm/plex-sans-thai
Manually installing the files for web development can be done by downloading the latest web zip from our releases page.
Developers using the CSS files should keep the directory structure as is, so the font files will be found. If you’re importing the SCSS files, you can set the path of the font files by declaring $font-prefix: 'font-path-prefix'
inside the @use
. For example:
@use '@ibm/plex-sans-thai/scss' as PlexSansThai with (
$font-prefix: 'font-path'
);
@include PlexSansThai.all();
We provide two ways of importing weights into your project. Using PlexSansThai.all()
will import all available weights and PlexSansThai.default()
will import only light
, regular
and semibold
weight. You can also disable
unwanted weights inside the @use
. For example:
// Disable weights
@use '@ibm/plex-sans-thai/scss' as PlexSansThai with (
$font-weights: (
bold: false,
extralight: false,
light: false,
medium: false,
regular: false,
semibold: false,
text: false,
thin: false,
)
);
@include PlexSansThai.all();
IBM Plex Sans Thai typeface weights map:
Weight | Enabled by default with | PlexSansThai.all() | PlexSansThai.default() |
---|---|---|---|
bold | ✅ | ✅ | |
extralight | ✅ | ❌ | |
light | ✅ | ❌ | |
medium | ✅ | ❌ | |
regular | ✅ | ✅ | |
semibold | ✅ | ✅ | |
text | ✅ | ❌ | |
thin | ✅ | ❌ |
Below are the font-family
rules for the family:
font-family: 'IBM Plex Sans Thai'
To build binary font files from .vfb sources you need FontLab Studio 5. A Python script called IBM Plex export FDK files.py
is necessary to export the proper files from FontLab. To run this script you’ll need the RoboFab library. Also, you’ll need to have the Adobe Font Development Kit for OpenType (AFDKO) installed.
From FontLab, run IBM Plex export FDK files.py
and choose a directory with IBM Plex .vfb source files. The script will create a new directory called fdk
in which subdirectories are created for every font. The script will export files necessary for AFDKO in those subdirectories.
Subsequently, OpenType Fonts (OTFs) or TrueType Fonts (TTFs) can be generated from the command line using makeotf
, which is part of the AFDKO toolset. Information and usage instructions can be found by executing makeotf -h
.
This package uses IBM Telemetry to collect metrics data. By installing this package as a dependency you are agreeing to telemetry collection. To opt out, see opting out of IBM Telemetry data collection. For more information on the data being collected, please see the IBM Telemetry documentation.
FAQs
The package of IBM’s typeface, IBM Plex Sans Thai
The npm package @ibm/plex-sans-thai receives a total of 746 weekly downloads. As such, @ibm/plex-sans-thai popularity was classified as not popular.
We found that @ibm/plex-sans-thai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.