mirror of https://gitlab.com/nakst/essence
minimal dependency builds
This commit is contained in:
parent
d340c29117
commit
a5029119f2
|
@ -2183,3 +2183,20 @@ EsProcessStartupInformation *ProcessGetStartupInformation() {
|
|||
return api.startupInformation;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef USE_STB_SPRINTF
|
||||
int EsCRTvsnprintf(char *, size_t, const char *, va_list) {
|
||||
EsUnimplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int EsCRTsnprintf(char *, size_t, const char *, ...) {
|
||||
EsUnimplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int EsCRTsprintf(char *, const char *, ...) {
|
||||
EsUnimplemented();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -216,13 +216,15 @@ Options starting with `Driver.` are used to enable and disable drivers. The defa
|
|||
|
||||
### Dependency options
|
||||
|
||||
TODO
|
||||
You can disable optional dependencies using these options.
|
||||
|
||||
- `Dependency.ACPICA`
|
||||
- `Dependency.stb_image`
|
||||
- `Dependency.stb_image_write`
|
||||
- `Dependency.stb_sprintf`
|
||||
- `Dependency.FreeTypeAndHarfBuzz`
|
||||
- `Dependency.ACPICA` ACPICA is a kernel driver that provides power management through ACPI. Without it, the system will not be able to turn off the computer or provide thermal management.
|
||||
- `Dependency.stb_image` stb\_image provides loading images of various formats. Without it, the system will only be able to load PNG images.
|
||||
- `Dependency.stb_image_write` stb\_image\_write provides writing images of various formats. Without it, the system will not be able to save images. Note that the `Image Editor` application includes this library regardless of this setting.
|
||||
- `Dependency.stb_sprintf` stb\_sprintf provides the printf-like API calls. Without it, these calls will be redirected to `EsUnimplemented`. Other optional dependencies may require this to be enabled.
|
||||
- `Dependency.FreeTypeAndHarfBuzz` FreeType and HarfBuzz provide support for TrueType font rendering. Without it, the system will only be able to load bitmap fonts.
|
||||
|
||||
Additionally, there is the MD4C library which is included by the `Markdown Viewer` application.
|
||||
|
||||
## a2l
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -72,7 +72,7 @@ BuildFont fonts[] = {
|
|||
{ "2i", "Inter Extra Light Italic.otf" },
|
||||
{ "3", "Inter Light.otf" },
|
||||
{ "3i", "Inter Light Italic.otf" },
|
||||
{ "4", "Inter Regular.otf", .required = true },
|
||||
{ "4", "Inter Regular.otf" },
|
||||
{ "4i", "Inter Regular Italic.otf" },
|
||||
{ "5", "Inter Medium.otf" },
|
||||
{ "5i", "Inter Medium Italic.otf" },
|
||||
|
@ -88,7 +88,7 @@ BuildFont fonts[] = {
|
|||
} },
|
||||
|
||||
{ "Hack", "Hack License.md", "Mono", "Latn,Grek,Cyrl", (FontFile []) {
|
||||
{ "4", "Hack Regular.ttf", .required = true },
|
||||
{ "4", "Hack Regular.ttf" },
|
||||
{ "4i", "Hack Regular Italic.ttf" },
|
||||
{ "7", "Hack Bold.ttf" },
|
||||
{ "7i", "Hack Bold Italic.ttf" },
|
||||
|
@ -112,8 +112,8 @@ BuildFont fonts[] = {
|
|||
} },
|
||||
|
||||
{ "Bitmap Sans", "", "Sans", "Latn", (FontFile []) {
|
||||
{ "4", "Bitmap Sans Regular 9.font" },
|
||||
{ "7", "Bitmap Sans Bold 9.font" },
|
||||
{ "4", "Bitmap Sans Regular 9.font", .required = true },
|
||||
{ "7", "Bitmap Sans Bold 9.font", .required = true },
|
||||
{},
|
||||
} },
|
||||
|
||||
|
|
Loading…
Reference in New Issue