Changes

Jump to navigation Jump to search
no edit summary
 
= pl:u =
This is "nn::pl::detail::ISharedFontManagerIPlatformServiceManager".
{| class="wikitable" border="1"
! Cmd || Name
|-
| 0 || [[#RequestLoadRequestSharedFontLoad]]
|-
| 1 || [[#GetLoadStateGetSharedFontLoadState]]
|-
| 2 || [[#GetSizeGetSharedFontSize]]
|-
| 3 || [[#GetSharedMemoryAddressOffsetGetSharedFontAddress]]
|-
| 4 || [[#GetSharedMemoryNativeHandleGetSharedFontSharedMemoryHandle]]
|-
| 5 || [[#GetSharedFontInOrderOfPriority]]
| 6 || [4.0.0+] GetSharedFontInOrderOfPriorityForSystem
|-
| 100 || [8.0.0+]RequestApplicationFunctionAuthorization
|-
| 101 || [8.0.0+]RequestApplicationFunctionAuthorizationForSystem
|}
== RequestLoad RequestSharedFontLoad ==
Takes a [[#SharedFontType]] (uint32), no output.
== GetLoadState GetSharedFontLoadState ==
Takes a [[#SharedFontType]] (uint32), returns the [[#LoadState]] (uint32).
|}
== GetSize GetSharedFontSize ==
Takes a [[#SharedFontType]] (uint32), returns the Font Size (uint32).
== GetSharedMemoryAddressOffset GetSharedFontAddress ==
Takes a [[#SharedFontType]] (uint32), returns the offset (uint32) to the Font Address.
== GetSharedMemoryNativeHandle GetSharedFontSharedMemoryHandle ==
No input, returns an output SharedMemory handle.
User-processes map this SharedMemory with size=0x1100000 and permissions=R--.
Font data is TTF, located at the offset returned by [[#GetSharedMemoryAddressOffsetGetSharedFontAddress]].
== GetSharedFontInOrderOfPriority ==
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].
The fonts are relative to the shared memory created by [[#GetSharedMemoryNativeHandleGetSharedFontSharedMemoryHandle]]
== SharedFontType ==

Navigation menu