RemoveGoogleFonts/README.en.md

91 lines
3.6 KiB
Markdown
Raw Permalink Normal View History

2022-08-31 14:55:36 +02:00
[![deutsche Version](https://logos.oxidmodule.com/de2_xs.svg)](README.md)
[![english version](https://logos.oxidmodule.com/en2_xs.svg)](README.en.md)
# D³ Remote Font Replacement for OXID eShop
[ccm19.de](https://www.ccm19.de/google-fonts-checker/) checks your site for font files loaded from Google servers. ([Alternative](https://sicher3.de/google-fonts-checker/))
If you want to load the fonts from your own server instead, you can use this package. It integrates Google Fonts locally into the OXID standard themes (Wave, Flow).
2022-08-31 14:55:36 +02:00
## contains
* [Raleway](https://fonts.google.com/specimen/Raleway) 200 (ExtraLight) roman + italic
* [Raleway](https://fonts.google.com/specimen/Raleway) 400 (Regular) roman + italic
* [Raleway](https://fonts.google.com/specimen/Raleway) 600 (SemiBold) roman + italic
* [Raleway](https://fonts.google.com/specimen/Raleway) 700 (Bold) roman + italic
Other fonts may have to be added individually (e.g. through a patch).
The Google font files can be loaded [here](https://google-webfonts-helper.herokuapp.com/fonts).
Please also check other resources provided by other servers (e.g. Font Awesome icon libraries, jQuery libraries and others).
2022-09-01 09:31:43 +02:00
2022-08-31 14:55:36 +02:00
## Table of content
- [Installation](#installation)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [License](#license)
- [Further licences and terms of use](#further-licences-and-terms-of-use)
## Installation
This package requires an OXID eShop installed with Composer in a version defined in the [composer.json](composer.json).
Open a command line and navigate to the root directory of the shop (parent directory of source and vendor). Execute the following command. Adapt the path details to your installation environment.
```bash
2024-04-11 14:46:19 +02:00
php composer require d3/removegooglefonts:^2.0
2022-08-31 14:55:36 +02:00
```
2024-04-11 14:46:19 +02:00
Console:
// let shop read the module ( necessary! )
php vendor/bin/oe-console oe:modules:install vendor/d3/removegooglefonts
2022-08-31 14:55:36 +02:00
2024-04-11 14:46:19 +02:00
// activate the module
php vendor/bin/oe-console oe:modules:activate removegooglefonts
// deactivate the module
php vendor/bin/oe-console oe:modules:d3activate removegooglefonts
Activation && Deactivation also possible in Shop-Admin:
Activate the module under "Extensions -> Modules".
2022-08-31 14:55:36 +02:00
## Changelog
See [CHANGELOG](CHANGELOG.md) for further informations.
## Contributing
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
## License
(status: 2022-08-31)
Distributed under the GPLv3 license.
```
Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
This software is distributed under the GNU GENERAL PUBLIC LICENSE version 3.
```
For full copyright and licensing information, please see the [LICENSE](LICENSE.md) file distributed with this source code.
## Further licences and terms of use
### "Raleway" font files in all included versions (as of 2022-08-31)
source: [https://fonts.google.com/specimen/Raleway/about](https://fonts.google.com/specimen/Raleway/about)
license: [https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
These fonts are licensed under the Open Font License.
You can use them in your products & projects print or digital, commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full license for all details.