Beispiel #1
0
		public override void  defineFontAlignZones(DefineFontAlignZones tag)
		{
			frame.controlTags.Add(tag);
		}
		public override void  defineFontAlignZones(DefineFontAlignZones tag)
		{
			int fontID = dict.getId(tag.font);
			tagw.writeUI16(fontID);
			tagw.writeUBits(tag.csmTableHint, 2);
			tagw.writeUBits(0, 6); // reserved
			for (int i = 0; i < tag.zoneTable.Length; i++)
			{
				ZoneRecord record = tag.zoneTable[i];
				tagw.writeUI8(record.numZoneData);
				for (int j = 0; j < record.numZoneData; j++)
				{
					tagw.write32((int) record.zoneData[j]);
				}
				tagw.writeUI8(record.zoneMask);
			}
			encodeTag(tag);
		}
 public override void  defineFontAlignZones(DefineFontAlignZones tag)
 {
     frame.controlTags.Add(tag);
 }
 public override void  defineFontAlignZones(DefineFontAlignZones tag)
 {
     tags.Add(tag);
 }
Beispiel #5
0
		public override void  defineFontAlignZones(DefineFontAlignZones tag)
		{
			open(tag);
			if (tag.name != null)
				out_Renamed.Write(" id='" + id(tag) + "'");
			out_Renamed.Write(" fontID='" + id(tag.font) + "'");
			out_Renamed.Write(" CSMTableHint='" + tag.csmTableHint + "'");
			//UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'"
			out_Renamed.WriteLine(">");
			indent_Renamed_Field++;
			indent();
			//UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'"
			out_Renamed.WriteLine("<ZoneTable length='" + tag.zoneTable.Length + "'>");
			indent_Renamed_Field++;
			if (glyphs)
			{
				for (int i = 0; i < tag.zoneTable.Length; i++)
				{
					ZoneRecord record = tag.zoneTable[i];
					indent();
					out_Renamed.Write("<ZoneRecord num='" + record.numZoneData + "' mask='" + record.zoneMask + "'>");
					for (int j = 0; j < record.zoneData.Length; j++)
					{
						out_Renamed.Write(record.zoneData[j] + " ");
					}
					//UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'"
					out_Renamed.WriteLine("</ZoneRecord>");
				}
			}
			indent_Renamed_Field--;
			indent();
			//UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'"
			out_Renamed.WriteLine("</ZoneTable>");
			close(tag);
		}
 public virtual void  defineFontAlignZones(DefineFontAlignZones tag)
 {
 }