[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] GSoC-2017-kushal 7d3fd31 3/4: Using the functions added / ch
From: |
Kushal K S V S |
Subject: |
[freetype2] GSoC-2017-kushal 7d3fd31 3/4: Using the functions added / changing the directory structure - pages are categorized into font type and then font name |
Date: |
Thu, 22 Mar 2018 07:09:46 -0400 (EDT) |
branch: GSoC-2017-kushal
commit 7d3fd3115dd125010edd7549846a8bff9ef03622
Author: Kushal K S V S <address@hidden>
Commit: Kushal K S V S <address@hidden>
Using the functions added / changing the directory structure - pages are
categorized into font type and then font name
---
tests/make_sprite.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/tests/make_sprite.c b/tests/make_sprite.c
index ac454e0..5cfed32 100644
--- a/tests/make_sprite.c
+++ b/tests/make_sprite.c
@@ -67,6 +67,9 @@ int main(int argc, char const *argv[])
char glyph_name[50] = ".not-def";
+ char* font_file_name = Get_Font_File_Name(font_file);
+ char* font_file_type = Get_Font_File_Type(font_file);
+
/*******************************************************************/
FT_Error ( *Base_Init_FreeType )( FT_Library* );
@@ -328,9 +331,10 @@ int main(int argc, char const *argv[])
/* Initialising file pointer for the list-view*/
if (snprintf( output_file_name,
output_file_size,
- "./html/pages/%d/%s/%s/%d/index.html",
+ "./html/pages/%d/%s/%s/%s/%d/index.html",
dpi,
- font_file,
+ font_file_type,
+ font_file_name,
mode,
pt_size )
> output_file_size )
@@ -470,9 +474,10 @@ int main(int argc, char const *argv[])
if (snprintf( output_file_name,
output_file_size,
- "./html/pages/%d/%s/%s/%d/images/%s.png",
+ "./html/pages/%d/%s/%s/%s/%d/images/%s.png",
dpi,
- font_file,
+ font_file_type,
+ font_file_name,
mode,
pt_size,
glyph_name )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] GSoC-2017-kushal 7d3fd31 3/4: Using the functions added / changing the directory structure - pages are categorized into font type and then font name,
Kushal K S V S <=