Files
Magical-Jumping-Bean/Library/metadata/9e/9edc9283e7d6409fab242fe8fb6a822c
T

122 lines
9.0 KiB
Plaintext
Raw Normal View History

2019-09-29 19:40:54 -04:00
í$ 2019.2.3f1þÿÿÿÿÿ’3$øÌuñ옲e+ Í=^7€ÿÿÿÿ¦€²Ð¦¦¦€#¦€+H€3ÿÿÿÿ1€1€ÿÿÿÿ@Þ Q€j
H€<ÿÿÿÿ 1€1€ÿÿÿÿ @Þ
Q€jÕ€Iÿÿÿÿ1€1€ÿÿÿÿÀÞH€j€ÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€j€PAssetMetaDataguiddata[0]data[1]data[2]data[3]pathNameoriginalNamelabelsassetStoreRef ÿÿfš†!ë5˜9Ý4QÁóBí7€ÿÿÿÿ¦€²
E Þ€#.€,5a Þ€#.€,€r Þ€# .€,
H€«€ÿÿÿÿ 1€1€ÿÿÿÿ @Þ
Q€jñ€JÿÿÿÿÀ1€1€ÿÿÿÿÞ€j€ÿÿÿÿ\€ÿÿÿÿH€rÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€jH€wÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€jH€€ÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€jy
 Þ€#!.€,"€…ÿÿÿÿ#@1€1€ÿÿÿÿ$Þ%.€j&Õ€“ÿÿÿÿ'1€1€ÿÿÿÿ(ÀÞ)€j€ÿÿÿÿ*H€›€ÿÿÿÿ+1€1€ÿÿÿÿ,@Þ-Q€j.y
 /Þ€#0.€,1 €§2@¾€¶ 3@Þ€#4.€,5H€»ÿÿÿÿ61€1€ÿÿÿÿ7@Þ8Q€j9H€Æÿÿÿÿ:1€1€ÿÿÿÿ;@Þ<Q€j=H€Øÿÿÿÿ>1€1€ÿÿÿÿ?@Þ@Q€jAMonoImporterPPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_UsedFileIDsm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariantsÿÿ£Gñ×ÜZ56 :!@iÁJ*€7€ÿÿÿÿ¦€²E Þ.(a Þ.€r Þ .
H€«€ÿÿÿÿ 1€1€ÿÿÿÿ @Þ
Q€jH€ê€ÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€jñ€=ÿÿÿÿ1€1€ÿÿÿÿÞ€j€ÿÿÿÿH€›€ÿÿÿÿ1€1€ÿÿÿÿ@ÞQ€jy
 Þ.y€Q Þ. Þ€X!H€iÿÿÿÿ"1€1€ÿÿÿÿ#@Þ$Q€j%H€uÿÿÿÿ&1€1€ÿÿÿÿ'@Þ(Q€j)PPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacelp\ày¯Ð@éÍ)8~mùºBòŽ¿¦(ÂAPackages/com.unity.textmeshpro/Scripts/Editor/TMPro_FontPlugin.csày¯TMPro_FontPluginÑusing UnityEngine;
using UnityEditor;
using System.Collections;
using System;
using System.Runtime.InteropServices;
namespace TMPro.EditorUtilities
{
/*
public class TMPro_FontPlugin
{
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void DebugLog(string log);
private static readonly DebugLog debugLog = DebugWrapper;
private static readonly IntPtr functionPointer = Marshal.GetFunctionPointerForDelegate(debugLog);
private static void DebugWrapper(string log)
{
Debug.Log(log);
}
public static void LinkDebugLog()
{
LinkDebug(functionPointer);
}
[DllImport("TMPro_Plugin")]
private static extern void LinkDebug([MarshalAs(UnmanagedType.FunctionPtr)]IntPtr debugCall);
[DllImport("TMPro_Plugin")]
public static extern
int Initialize_FontEngine();
[DllImport("TMPro_Plugin")]
public static extern
int Destroy_FontEngine();
[DllImport("TMPro_Plugin")]
public static extern
int Load_TrueType_Font(string fontPath);
[DllImport("TMPro_Plugin")]
public static extern
int FT_Size_Font(int fontSize);
[DllImport("TMPro_Plugin")]
public static extern
int Render_Character(byte[] buffer_fill, byte[] buffer_edge, int buffer_width, int buffer_height, int offset, int asc, FaceStyles style, float thickness, RenderModes rasterMode, ref FT_GlyphInfo glyphInfo);
[DllImport("TMPro_Plugin")]
public static extern
int Render_Characters(byte[] buffer, int buffer_width, int buffer_height, int character_padding, int[] asc_set, int char_count, FaceStyles style, float style_mod, bool autoSize, RenderModes renderMode, int method, ref FT_FaceInfo fontData, FT_GlyphInfo[] Output);
[DllImport("TMPro_Plugin")]
public static extern
int FT_GetKerningPairs(string fontPath, int[] characterSet, int setCount, FT_KerningPair[] kerningPairs);
[DllImport("TMPro_Plugin")]
public static extern
float Check_RenderProgress();
[DllImport("TMPro_Plugin")]
internal static extern
void SendCancellationRequest(CancellationRequestType request);
}
public enum FaceStyles { Normal, Bold, Italic, Bold_Italic, Outline, Bold_Sim };
public enum RenderModes { HintedSmooth = 0, Smooth = 1, RasterHinted = 2, Raster = 3, DistanceField16 = 6, DistanceField32 = 7 }; // SignedDistanceField64 = 8
internal enum CancellationRequestType : byte { None = 0x0, CancelInProgess = 0x1, WindowClosed = 0x2 };
[StructLayout(LayoutKind.Sequential)]
public struct FT_KerningPair
{
public int ascII_Left;
public int ascII_Right;
public float xAdvanceOffset;
}
[StructLayout(LayoutKind.Sequential)]
public struct FT_GlyphInfo
{
public int id;
public float x;
public float y;
public float width;
public float height;
public float xOffset;
public float yOffset;
public float xAdvance;
}
[StructLayout(LayoutKind.Sequential)]
public struct FT_FaceInfo
{
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
public string name;
public int pointSize;
public int padding;
public float lineHeight;
public float baseline;
public float ascender;
public float descender;
public float centerLine;
public float underline;
public float underlineThickness;
public int characterCount;
public int atlasWidth;
public int atlasHeight;