Changes

Jump to navigation Jump to search
no edit summary
Line 51: Line 51:  
== GetSharedFontInOrderOfPriority ==
 
== GetSharedFontInOrderOfPriority ==
 
Takes an input u64 [[Settings_services#LanguageCode|LanguageCode]] and 3 type-0x6 output buffers, returns an output u8 and u32. The u8 is a bool to specify if the fonts are loaded or not and the u32 is the font count.
 
Takes an input u64 [[Settings_services#LanguageCode|LanguageCode]] and 3 type-0x6 output buffers, returns an output u8 and u32. The u8 is a bool to specify if the fonts are loaded or not and the u32 is the font count.
The first buffer contains the font indexes, the second buffer contains the font offsets and the final buffer contains the font sizes.
+
The first buffer contains a list of [[#SharedFontType|Shared font types]], the second buffer contains the font offsets and the final buffer contains the font sizes.
 
The buffers are an array of u32s which specify information about a specific font. Buffer1[n] is related to Buffer2[n] and Buffer3[n].
 
The buffers are an array of u32s which specify information about a specific font. Buffer1[n] is related to Buffer2[n] and Buffer3[n].
 
Example: Font index 0s offset is at Buffer2[0], size is at Buffer3[0].
 
Example: Font index 0s offset is at Buffer2[0], size is at Buffer3[0].
 +
The fonts are relative to the shared memory created by [[#GetSharedMemoryNativeHandle]]
    
== SharedFontType ==
 
== SharedFontType ==
32

edits

Navigation menu