2018-06-22 12:04:56 +03:00
|
|
|
# Getting Started
|
|
|
|
This document is a quick getting started guide for users who are interested
|
|
|
|
in trying Phi.
|
|
|
|
|
2018-06-22 12:08:59 +03:00
|
|
|
## Installing
|
|
|
|
Notes for installing and building are detailed in the README file. You will probably
|
|
|
|
have to build from source. This shouldn't be too much of a hassle with Linux
|
|
|
|
and MacOS - Windows might be a bit of a hassle.
|
|
|
|
|
2018-06-22 12:04:56 +03:00
|
|
|
## Configuration Files
|
|
|
|
Configuration files for Phi are located in `~/.phi-editor`. This is in your
|
|
|
|
$HOME directory.
|
|
|
|
|
|
|
|
## Fonts
|
|
|
|
The font loading in Phi is still very much a work in progress. Loading fonts
|
|
|
|
in a platform independent way is a particular struggle when dealing with Linux.
|
|
|
|
Below are some notes for users to help get started with the editor.
|
|
|
|
|
2018-06-22 12:08:59 +03:00
|
|
|
### Linux/Ubuntu
|
2018-06-22 12:04:56 +03:00
|
|
|
Ubuntu's fonts are in the `/usr/share/fonts` folder, though they are categorized
|
|
|
|
by font type. Here is a quick example to get you started on Ubuntu:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
font_path = "/usr/share/fonts/truetype/dejavu"
|
|
|
|
font_face = "DejaVuSansMono"
|
|
|
|
```
|
2018-06-22 12:08:59 +03:00
|
|
|
|
|
|
|
For Linux in general, you may have to hunt down your fonts folder yourself
|
|
|
|
and set the `font_path` variable accordingly.
|