你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
谷主
赞同来自: 烟雨迷离半世殇
烟雨迷离半世殇
赞同来自: 谷主
showwho
赞同来自:
要回复问题请先登录或注册
3 个回复
谷主
赞同来自: 烟雨迷离半世殇
烟雨迷离半世殇
赞同来自: 谷主
override public void SetFormat(TextFormat format, float fontSizeScale)
{ _format = format; _formatVersion++; _fontSizeScale = fontSizeScale; float size = _format.size * fontSizeScale; if (_format.specialStyle == TextFormat.SpecialStyle.Subscript || _format.specialStyle == TextFormat.SpecialStyle.Superscript) size *= SupScale; _scale = size / _fontAsset.faceInfo.pointSize * _fontAsset.faceInfo.scale; _style = FontStyles.Normal; if (_format.bold) { _style |= FontStyles.Bold;
// ProjectA Change Start
// _fontWeight = FontWeight.Bold;
_fontWeight = _defaultFontWeight;
// ProjectA Change End
_boldMultiplier = 1 + _fontAsset.boldSpacing * 0.01f; } else { _fontWeight = _defaultFontWeight; _boldMultiplier = 1.0f; } if (_format.italic) _style |= FontStyles.Italic; _format.FillVertexColors(vertexColors); }
showwho
赞同来自: