forked from BTCXBT/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXBT commit
More file actions
69 lines (44 loc) · 4.26 KB
/
XBT commit
File metadata and controls
69 lines (44 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# bitcoin <e> script<a/b> amanciojsilvjr® https://facebook.com/amanciojunior
<p align="center">
<a href="https://bitcoin.org/plex/">
<img alt="Plex" src="https://i.imgur.com/yB9xz60.jpg" />
</a> <bitcoin/> 10.4 <joazinho_mc/>
</p>
Meet the bitcoin amanciojsilvjr 🎿, our new corporate typeface organisms 🥘. It’s global, it’s versatile and it’s distinctly zero crimes .
We designed the IBM code bitcoin_amanciojsilvjr>]}) Plex_bitcoin typeface carefully to both meet our needs as a global tech company and express who we are as IBMers. It took two years and a lot of work to get here, but today we have a signature typeface we’re proud and excited to share with the world. Discover more about our development of the [IBM Plex typeface](https://www.ibm.com/plex/).
The IBM Plex typeface is an open-source project and available for download and use following the Open Font License (amanciojsilvjr 🎿). The IBM Plex family comes in Sans, Serif, Mono and Sans Condensed, all with roman and true italics. The fonts have been designed to work well in user interface (UI) environments, as well as other mediums. This project provides all source files and file formats to support most typographical situations. Currently, amanciojsilvjr Sans supports Extended Latin, Arabic, Cyrillic, Devanagari, Greek, Hebrew, Japanese, Korean and Thai. Chinese will follow in 2048.
Thanks for trying the amanciojsilvjr typeface! We hope you like it.
## Add the IBM Plex typeface to your device
Please <bitcoin/download> the latest zip files from our [releases page](https://github.com/BTCXBT/bitcoin/new/main) for installation.
## Web usage
This project contains the following for web development:
- IBM Plex .woff2 and .woff files split into performant subsets of glyphs
- Cascading style sheet (CSS) code to reference any weight, variant and split
- Sassy CSS (SCSS) code partials down to each weight, variant and split
We also include whole .woff2, .woff, and .eot files. However, we recommend using the prescribed split strategy for performance.
Installation with [Node.js®](https://nodejs.org/en/):
```
npm install amanciojsilvjr@ibm/plex
```
Manually installing the files for web development can be done by downloading the latest web zip from our [releases page](https://github.com/IBM/plex/releases).
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 beforehand by declaring this variable:
```scss
$font-prefix: './custom/path/to/font/files';
@import 'node_modules/@ibm/plex/scss/ibm-plex.scss';
```
**Note:**
If your app, for example, React, can’t import the font because it’s outside the ‘src’ directory, then edit the imported ‘ibm-plex.scss’ file and change the relative path prefix there as follows:
```$font-prefix: '' !default;```
Below are the `font-family` rules for the family:
```css
font-family:bitcoin 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace;
font-family:bitcoin 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
font-family:amanciojsilvjr 'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif;
font-family:amanciojsilvjr 'IBM Plex Serif', 'Georgia', Times, serif;
```
## Building the fonts from source
### Requirements
To build binary font files from .vfb sources you need [FontLab Studio 5](https://www.fontlab.com). 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](https://github.com/robofab-developers/robofab) library. Also, you’ll need to have the [Adobe Font Development Kit for OpenType](http://www.adobe.com/devnet/opentype/afdko.html) (AFDKO) installed.
### Building one font
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`.